-
Notifications
You must be signed in to change notification settings - Fork 11
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
Unable to install from source on Windows #292
Comments
"from source" means you pulled the git repo right ? and silly question: if you do a "ls" do you see the file ? |
from source" means you pulled the git repo right ? yes, I started with SHA 6988b9f |
I just tried on linux this morning installing the new alpha4 from source with pip, and I got the same error as @flothesof
Very strange, it looks like the _updateversion.py module is not included in the pip sdist, so it is not found. Solutions:
@lasofivec, is there something changed to the sdist in your opinion ? |
I think it is because we forgot to specify that _updateversion.py should be included in the sdist: From what I understand, we can include it via the setup options and / or via a MANIFEST.in |
But, I just created a sdist locally:
and unzipped the tar.gz to see its content: The And it is also in the tar.gz that was uploaded to pipy... I don't understand why it is not found and pip install time. Any idea ? |
From the error message I seem to understand that _updateversion.py shall be included in the build-dependencies, because it fails at Getting requirements to build wheel ... error This is logical, because we import _updateversion.py at the top of setup.py. Suggested hotfix given the previous discussions, time emergency: We'll need to discuss later how to design a more elegant solution, but it should do for the time being |
Tested, solves the problem, see PR #299 |
I am able to recreate the error |
Are you sure you tried with the alpha4 ? |
Fixed in devel by PR #299 |
Just tested this with devel from commit 2d9b183, it now works for me. Closing. |
See 'Notes for the future' in Issue #295 |
I don't think the solution we took here was the right one. I understood a little better why And pypa/setuptools#1698 (comment)
So there are two solutions, for both it would mean to take out the version of the function in the
Since the documentation on this is still very light, I would vote for the latter. |
Hi,
I'm trying to install from source with latest devel.
However, it doesn't work.
I'm a bit confused, this used to work.
Since the _updateversion.py is just a single function, I'm going to put it inside the setup.py and see if it fixes this.
The text was updated successfully, but these errors were encountered: