Open edmorley opened 7 years ago
Hi!
I noticed that the latest release (2.1) now includes a wheel for Python 2: https://pypi.python.org/pypi/promise/2.1
I don't suppose the Python 3 wheel could also be uploaded? :-)
+1 for this one... as long as promise
is only available as sdist and not as a bdist_wheel, we can't just use pip install --only-binary :all:
... which is in turn a great mitigation for arbitrary code execution inherent to sdists. See https://github.com/mschwager/0wned
Hi!
Please could this package also by made available as a wheel on PyPI? https://pypi.python.org/pypi/promise/2.0.2
Wheels have the following advantages:
This package is pure Python and supports both Python 2 and 3, so in theory could be distributed as a "universal wheel": https://packaging.python.org/tutorials/distributing-packages/#wheels
...however I notice that there's some
__builtin__
vsbuiltins
workaround going on here: https://github.com/syrusakbary/promise/blob/5177e5376676e10bbcd67970eed6c858c5d9bd4d/setup.py#L4-L9...which I believe means separate wheels have to be generated for each of Python 2 and 3.
The Python packaging guide recommends using Twine to upload packages: https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi
As such, the steps for building/uploading a new release are then:
The PyPI package listing will then display three entries for the new release, one with type "Source" and two of type "Python Wheel" (one for each of Python 2 and 3).
Many thanks :-)