Skip to content
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

-e relative paths made absolute #280

Closed
ryanhiebert opened this issue Dec 28, 2015 · 2 comments
Closed

-e relative paths made absolute #280

ryanhiebert opened this issue Dec 28, 2015 · 2 comments

Comments

@ryanhiebert
Copy link
Contributor

In my particular case, I have the line -e . in my requirements.in file. When this is compiled with pip-compile, it transforms that line to the full path of the current directory, like -e /Users/ryanhiebert/Code/python/my-project. Unfortunately, that's not the correct directory for my production servers, so I have to go back into the generated requirements.txt file and change it back to -e ., which is quite annoying.

Can we make it so that -e lines are kept verbatim, or would that cause problems that I've not thought about?

@ryanhiebert
Copy link
Contributor Author

Oops. Looks like I missed an existing issue about this: #204

@atugushev
Copy link
Member

The known workaround is -e file:.#egg=myproject . See #204 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants