Open edmorley opened 6 years ago
Hi!
Please could this package also by made available as a wheel on PyPI? https://pypi.python.org/pypi/openapi-codec/1.3.2
Wheels have the following advantages:
This package is pure Python and supports both Python 2 and 3, so can be distributed as a "universal wheel": https://packaging.python.org/tutorials/distributing-packages/#wheels
To save having to pass --universal to setup.py each time, the pref can be saved in setup.cfg:
--universal
setup.py
setup.cfg
[bdist_wheel] universal=1
The Python packaging guide recommends using Twine to upload packages: https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi
So with the setup.cfg as above, the steps for building/uploading a new release are then:
$ pip install -U twine setuptools wheel $ rm -rf dist/ build/ $ python setup.py sdist bdist_wheel $ twine upload dist/*
The PyPI package listing will then display two entries for the new release, one with type "Source" and the other "Python Wheel".
Many thanks :-)
Hi!
Please could this package also by made available as a wheel on PyPI? https://pypi.python.org/pypi/openapi-codec/1.3.2
Wheels have the following advantages:
This package is pure Python and supports both Python 2 and 3, so can be distributed as a "universal wheel": https://packaging.python.org/tutorials/distributing-packages/#wheels
To save having to pass
--universal
tosetup.py
each time, the pref can be saved insetup.cfg
:The Python packaging guide recommends using Twine to upload packages: https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi
So with the
setup.cfg
as above, the steps for building/uploading a new release are then:The PyPI package listing will then display two entries for the new release, one with type "Source" and the other "Python Wheel".
Many thanks :-)