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
Installation
Prerequisites:
-
Python 3.6 or higher
-
pip and setuptools
To install run:
.. parsed-literal::
python -m pip install --upgrade |package|
Development
Prerequisites:
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
.. |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/
Changelog
1.2.7 (2021-10-14)
1.2.6 (2021-07-20)
- Setup general update and improvement.
1.2.4 (2020-10-18)
- Drop support for Python 3.5.
- Fixed docs setup.
1.1.0 (2020-09-22)
- Add support for Python 3.9.
Fixed improper permission setting to read distribution. <https://github.com/karpierz/pyc_wheel/pull/4>
_- Setup general update and cleanup.
1.0.3 (2020-01-16)
- Added ReadTheDocs config file.
- Setup update.
1.0.2 (2019-12-03)
- Added the ability to exclude files from compilation.
- Added the ability to use wildcards.
1.0.1rc3 (2019-11-30)
- A little fix for README.rst
1.0.1rc2 (2019-11-30)
- | Creating a fork of Grant Patten's pycwheel package with a fixes,
| changes and improvements allowing to work with Python3 or higher.
Changes of the original pycwheel:
1.0.0 (Sep 25, 2016)