-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Pipenv install doesn't copy data defined in package_data
(setup.py)
#2697
Comments
Hmm, this seems to work for me. There is an ugly exception when I try to end the program, but that seems unrelated? Screencast (GIF): https://d.pr/i/nj8Lh2 What is the versions of Python, pip, and setuptools you use? I suspect pypa/sampleproject#30 could be related too. I would also second the suggestion mentioned in the issue—use MANIFEST.in instead. The design of |
But you're on a Mac right? The issue is only on Windows. Both mac and linux work well. |
Oh, yes, sorry I missed the OS-dependant part. That would be very strange though… Pipenv delegates the installation part completely to pip, and since all operating systems are (should be) using the same artifacts (the wheel) in this case, it would be very surprising if that fails only on Windows, given how mature pip is. I will try to investigate when I have access to a Windows machine, but I highly suspect something other than Pipenv is causing the problem. |
I just tried installing it with |
I actually didn't have any trouble installing this with pipenv on windows:
And the command itself works for me too: It did take some time to install but I can't replicate this, and either way I don't see what we can really do to address it on our end (we just invoke pip, we don't handle any of this ourselves). There might be some improvements in the next release. Closing for now |
Issue description
Hello folks, I created a simple package for demonstration purposes and included some data with the
package_data
directive (in my setup.py). The package was working fine both on linux and Mac, but wasn't copying over the data files on Windows. I fixed it by including a MAINFEST.in file and an__init__.py
file in my directory. But the standard solution wasn't working fine.Here's the code: https://github.com/santiagobasulto/party-parrot/tree/0.0.2
I've fixed my command in 0.0.3 with the above mentioned hack, so use 0.0.2 for testing.
Expected result
To copy the data and work well like in Linux and Mac.
Actual result
Data files were not copied.
Steps to replicate
Using windows:
$ pipenv install party-parrot==0.0.2 # this version is the one with issues $ pipenv shell $ party
(this works with
party-parrot@0.0.3
but not withparty-parrot@0.0.2
.The text was updated successfully, but these errors were encountered: