https://github.com/ozi-project/pyc_wheel-cp311
CPython 3.11 wheel compiler
https://github.com/ozi-project/pyc_wheel-cp311
container-actions docker-image gh-actions-repo
Last synced: 9 months ago
JSON representation
CPython 3.11 wheel compiler
- Host: GitHub
- URL: https://github.com/ozi-project/pyc_wheel-cp311
- Owner: OZI-Project
- License: mit
- Created: 2024-03-27T00:17:01.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T00:22:40.000Z (about 2 years ago)
- Last Synced: 2024-05-03T08:07:41.224Z (about 2 years ago)
- Topics: container-actions, docker-image, gh-actions-repo
- Language: Dockerfile
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pyc_wheel
=========
Compile all py files in a wheel to pyc files.
Overview
========
|package_bold| is a strict fork of Grant Patten's pycwheel_ package
with a fixes allowing to work with Python3 or higher and with a code
reformatting and some improvements.
`PyPI record`_.
`Documentation`_.
Usage
-----
Processing the wheel in place:
.. code-block:: bash
$ python -m pyc_wheel your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-py3-none-any.whl
or with backup:
.. code-block:: bash
$ python -m pyc_wheel --with_backup your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-py3-none-any.whl
# your_wheel-1.0.0-py3-none-any.whl.bak
or with quiet:
.. code-block:: bash
$ python -m pyc_wheel --quiet your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-py3-none-any.whl
or skipping compilation for a file subset:
.. code-block:: bash
$ python -m pyc_wheel --exclude "some/regex" your_wheel-1.0.0-py3-none-any.whl
To check all available processing options:
.. code-block:: bash
$ python -m pyc_wheel --help
Installation
============
Prerequisites:
+ Python 3.6 or higher
* https://www.python.org/
* 3.7 is a primary test environment.
+ pip and setuptools
* https://pypi.org/project/pip/
* https://pypi.org/project/setuptools/
To install run:
.. parsed-literal::
python -m pip install --upgrade |package|
Development
===========
Prerequisites:
+ Development is strictly based on *tox*. To install it run::
python -m pip install --upgrade tox
Visit `development page`_.
Installation from sources:
clone the sources:
.. parsed-literal::
git clone |respository| |package|
and run:
.. parsed-literal::
python -m pip install ./|package|
or on development mode:
.. parsed-literal::
python -m pip install --editable ./|package|
License
=======
| Copyright (c) 2016 Grant Patten
| Copyright (c) 2019-2021 Adam Karpierz
| Licensed under the MIT License
| https://opensource.org/licenses/MIT
| Please refer to the accompanying LICENSE file.
Authors
=======
* Grant Patten
* Adam Karpierz
.. |package| replace:: pyc_wheel
.. |package_bold| replace:: **pyc_wheel**
.. |respository| replace:: https://github.com/karpierz/pyc_wheel.git
.. _development page: https://github.com/karpierz/pyc_wheel
.. _PyPI record: https://pypi.org/project/pyc_wheel/
.. _Documentation: https://pyc_wheel.readthedocs.io/
.. _pycwheel: https://pypi.org/project/pycwheel/