-
Notifications
You must be signed in to change notification settings - Fork 291
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
Can a wheel be built and uploaded to pypi along with a tarball #411
Comments
+1 |
rm the ._pth file in python installed file |
Plus one on this! |
It think this should be high priority to get updates including --pre (installs from master branch) easily with pip. |
@thesriram Could you please provide the wheel you created here as well as submitting PR to add the wheel to the repo? |
Also related: Need an egg file. |
Looks like a wheel will be auto-created if you're running Miniconda (or it's bloated brother) when installing with pip (or conda). But it should already exist out of box along with the egg. |
I've created this PR, which if merged, will publish a wheel (non-universal) when a release is cut: #536 Future enhancements could be to setup Travis or some other CI system to publish wheels for different Python versions. Or some Docker containers to publish Python2 and Python3 versions. It seems that the wheel is not a "universal" wheel, because it is doing some 2to3 style stuff and the "universal" wheel configuration has been removed: |
|
@johnthagen Yes. There is also an open PR with a simple change that would allow wheels to be published. #536 The project is obviously not very active anymore, but there were commits in Feb 2020. @jmadler Is there any interest in publishing a Wheel? |
As per above discussion, we know that python-future doesn't have wheel for aarch64/x86 on PyPI repository. So, while installing python-future via pip on aarch64/x86 machine, pip builds the source code resulting in it takes more time to install python-future. Making wheel available for aarch64/x86 will benefit aarch64/x86 users by minimizing python-future installation time. We can release the wheel using CI/CD tools such as Travis-ci, circle-ci, azure-pipeline etc... @sfdye @jmadler, please let me know if I can help you building wheel/uploading to PyPI repository. I am curious to make python-future wheel available for aarch64. It will be a great opportunity for me to work with you. |
I got the same problem on my Windows machine: I download the tarball and add: sys.path.append('C:\\Users\\milk\\Desktop\\future-0.18.2') in |
Hi all, to test some theories, I've uploaded https://pypi.org/project/future/0.18.0/#files
Please have a try and let me know if it works I will be very interested to know if it works on Windows. |
It really helps, thanks a lot. |
This also works fine. sys.path.append('') Isn't this an environment-independent method? |
It still doesn't works on Windows. |
Hello, That's interesting. But, what should one do when thanks, PC Edit: running Python 3.7.0. |
Added the directory where I extracted the tarball (e.g. |
Can I ask for clarification to the Windows users please? Are you experiencing installation issues with the sdist version 0.18.3 of this package? If so, do you see the same issue with the 0.18.0 wheel that has been published? To the maintainers, thank you for supporting such a load-bearing package over the years. Is there much maintenance activity going on these days? Is there any appetite to trying this wheel experiment again? This package is still seeing a large number of downloads, so publishing a wheel will help a few CI systems and installers resolve and install packages marginally more efficiently than they would otherwise. |
Both the wheel and the sdist work on Windows:
|
I've created a PR that I believe addresses this issue: #622 |
As a side note, I got
Also helps with pipx by passing |
Under https://pypi.org/project/future/#files. I see that there is a tar gz file.
Having a wheel built and uploaded would also help.
Relative imports in setup.py would make execution of it complain with modules
src.future
not being found.Error:
I found this issue on windows, and got around it by manually building a wheel myself, and installing the wheel through pip.
The text was updated successfully, but these errors were encountered: