-
Notifications
You must be signed in to change notification settings - Fork 81
PyWavefront 0.4.0 was only built for Python 2 #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Quick test (in py3 env) Python 3 only $ python setup.py bdist_wheel
$ ls dist/
PyWavefront-0.3.2-py3-none-any.whl Universal $ python setup.py bdist_wheel --universal
$ ls dist/
PyWavefront-0.3.2-py2.py3-none-any.whl Note the |
Also remember to check in the version change in https://github.com/greenmoss/PyWavefront/blob/2656a8b2b3cf058c1a42401cafc5e17a7d23f04a/setup.py#L3 |
I am getting forgetful about steps, so I put them all in |
Thanks for putting up with my nagging ❤️ |
No worries, I'm happy to help support. |
Uh oh!
There was an error while loading. Please reload this page.
The last release was only built for python 2 probably because it was created in a python 2 environment. It looks like you have to use the
--universal
flag (python setup.py bdist_wheel --universal
) to create a py2 and py3 whl file.https://wheel.readthedocs.io/en/stable/#defining-the-python-version
I don't think you need to release a new version since pypi do support uploading several distribution files for the same version. Worst case bump to 4.1.
I didn't really think about this because most projects for work and hobby have been python 3 only for the last couple of years, so setuptools built py3 only pacakges with bdist_wheel in python3 environment.
The text was updated successfully, but these errors were encountered: