Repository navigation
BLD: Fix build issues - #2007
Conversation
There was a problem hiding this comment.
This looks to me now you will always trigger an update of numpy, exactly what we want to avoid.
Doesn't it?
unconditional install_requires, setup_requires
pip will have _have_setuptools is True
There was a problem hiding this comment.
On Thu, Sep 25, 2014 at 8:33 PM, Josef Perktold [email protected]
wrote:
In setup.py:
@@ -389,12 +389,12 @@ def get_data_files():
# 3.3 needs numpy 1.7+
min_versions.update({"numpy" : "1.7.0b2"})
- if not no_frills:
(setup_requires,install_requires) = check_dependency_versions(min_versions)if _have_setuptools:setuptools_kwargs['setup_requires'] = setup_requiressetuptools_kwargs['install_requires'] = install_requires- (setup_requires,
install_requires) = check_dependency_versions(min_versions)
- if _have_setuptools:
setuptools_kwargs['setup_requires'] = setup_requiressetuptools_kwargs['install_requires'] = install_requiresThis looks to me now you will always trigger an update of numpy, exactly
what we want to avoid.
Doesn't it?No.
unconditional install_requires, setup_requires
That are empty.
pip will have _have_setuptools is True
Reply to this email directly or view it on GitHub
https://github.com/statsmodels/statsmodels/pull/2007/files#r18068910.
There was a problem hiding this comment.
If patsy is missing, then install_requires contains 'patsy' (which triggers a chain reaction) ?
|
What we could do is make it conditional on |
Fixes for #2003 and should fix #1897. AFAICT, there's no reason to be conditional about adding the build and install dependencies depending on what command we've given setup.py. Given that
egg_infois insys.argvfor a regular pip install, let's not try to special case when we do this, because I don't know what any of these mean and a cursory reading of the docs didn't get there.If everything is already importable, you won't reinstall anything. If not, then you'll install it and you'll get pip's recursive upgrade behavior for any of our dependencies I guess. Oh well.
I think we finally have sane dependency handling.