Skip to content

Offline/behind proxy build can't have setup_requires #11342

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

Closed
mbultrow opened this issue Oct 16, 2015 · 3 comments
Closed

Offline/behind proxy build can't have setup_requires #11342

mbultrow opened this issue Oct 16, 2015 · 3 comments
Labels
Build Library building on various platforms Compat pandas objects compatability with Numpy or Python functions

Comments

@mbultrow
Copy link

I'm having problems with building a package depending on Pandas behind proxy, because setup_requires is specified in setup.py.
"pip install" calls setup.py egg_info, which in turn wants numpy, which it cannot find. Numpy is installed along with Pandas by pip, but setup.py can't know about this.

The same issue would also appear if I'd want install an offline package for the app I'm using.
This is why pip documentation discourages setup_requires

I see that there was a request opposite to mine (#3861) to make it usable with buildout... But maybe there's another way to use it with buildout? I think that pip is more of a Python standard than buildout...

@jreback
Copy link
Contributor

jreback commented Oct 16, 2015

you should simply use conda, but if you'd like to see if you can fix this go right ahead. never seen this issue before.

@jreback jreback added Build Library building on various platforms Compat pandas objects compatability with Numpy or Python functions labels Oct 16, 2015
@mbultrow
Copy link
Author

The issue concerns only installation in offline/proxied environments, which may not be common for Pandas users. I don't know if we can use conda, because all things we are integrating would be required to use it or we would need to make some strange pip/conda mixing.

Anyway, it doesn't bother us at the moment, because we were just checking out one component, but if we'll need to automate things, then I'll maybe try to fix this. You know, I just wanted to let you know.

@jreback
Copy link
Contributor

jreback commented Oct 21, 2015

ok, pls reopen if needed then

@jreback jreback closed this as completed Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

No branches or pull requests

2 participants