-
-
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
Installing a local package without setup.py, by file://, deletes the project directory #4152
Comments
Just to add that running
|
Hi @jingxue I've been able to succesfully reproduce your bug with the below Dockerfile, I think. The good news is that the pipenv master branch doesn't appear to have this bug (as you can see by switching between the versions in the Dockerfile). So until #3369, It seems like installing pipenv from github is the way to go...
|
@jingxue Sincere apologies for any trouble this might have caused you :| just so you are aware, I'll close this for now as it's been fixed on master, even though it's not yet released -- the official release will be out soon. Thanks for reporting this and for your patience! |
Issue description
I forgot to configure setup.py in a new project proj1, then tried to do
pipenv install -e file:///path/to/proj1
, from under another project directory. The command returned with aFileNotFoundError: [Errno 2] No such file or directory: '/path/to/proj1'
error, and deleted the entire proj1 directory.Expected result
I would have expected an error message along the lines of "setup.py is not found in proj1".
Actual result
pipenv support file attached.
support.txt
The text was updated successfully, but these errors were encountered: