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

editable line to use egg packagage #93

Closed
gsemet opened this issue Nov 18, 2017 · 5 comments
Closed

editable line to use egg packagage #93

gsemet opened this issue Nov 18, 2017 · 5 comments

Comments

@gsemet
Copy link

gsemet commented Nov 18, 2017

Hello.

I would like to propose the following amendement for the equivalent of pip install -e .

Instead of:

"e1839a8" = {path = ".", editable = true}

I would like to have:

"mypackage" = {path = ".", editable = true}

This would allow to get directly the name of the egg I am working on only by reading the Pipfile

@gsemet gsemet changed the title local edition to use egg packagage editable line to use egg packagage Nov 18, 2017
@gsemet gsemet closed this as completed Dec 1, 2017
@gsemet
Copy link
Author

gsemet commented Dec 1, 2017

not relevant, pip does not support egg name when installing from local path

@davilima6
Copy link

davilima6 commented Mar 21, 2018

What's the reason for this fixed hash e1839a8? I see it comes from Pipenv but it doesn't seem to vary across projects (it's even in README).

It'd be more logical/readable to use the name argument provided to setuptools.setup() in setup.py, what do you think?

@kennethreitz
Copy link
Contributor

it's a sha256 of '.'. pull requests accepted!

@kennethreitz
Copy link
Contributor

you can change it to whatever you like. it's just a placeholder

@jacebrowning
Copy link

I have found that if I run python setup.py develop first, I am able to use the actual package name in the Pipfile.

It would be nice if the presence of path = "." invoked setup.py automatically.

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

4 participants