-
Notifications
You must be signed in to change notification settings - Fork 67
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
Using distro
in setup.py
#132
Comments
Bump, would love some input on this ? |
So, I haven't heard of someone using distro in setup.py yet so it's hard for me to tell you what's the "recommended" way of doing that. If you know you have |
Nod, I found https://bitbucket.org/dholth/setup-requires which was mentioned in pypa/pip#1820 which describes that rather than using |
I would appreciate a PR for the docs stating that as a use case and how you solved it eventually. |
@nir0s Agree, I'll do that after I have sufficiently tested the method I'm using right now. So, in that case maybe we wouldn't even need that extra documentation as distro would be available due to pip itself ? |
If pip is ready to integrate distro (as indicated in pypa/pip#3823), then I think we should release distro 1.0.0, to make it clear that the API is stable from now on (at least within 1.x.x). |
Sounds reasonable to me. |
@andy-maier , pip already merged 0.6.0. I guess we should still release 1.0.0 after we add the CLI. Does that make sense? |
@AbdealiJK, any updates on this? Interested in submitting that PR or can I close this? |
I'm a bit busy right now, so no PR at the moment. To give a brief idea for others who have the same issue, I had to call pip install using There seems to be no elegant solution at this time that I was able to use without problems. |
Hi, I want to use
distro
to choose what to do insetup.py
. I was wondering if there's some recommended way of doing this ?The ideas we've thought of:
setup_requires
, We're not sure this is a good method of doing it - There have been quite a few bugs with it (On windows, old versions of pip, etc.)I wanted to ensure that I use the recommended way so that the app doesn't break later.
The text was updated successfully, but these errors were encountered: