Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
global-include *.csv *.py *.txt *.pyx *.pxd *.pxi *.c *.h
include MANIFEST.in
include README.rst

recursive-exclude build *
recursive-exclude dist *
Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_requires
setuptools_kwargs['install_requires'] = install_requires
(setup_requires,
install_requires) = check_dependency_versions(min_versions)

if _have_setuptools:
setuptools_kwargs['setup_requires'] = setup_requires
setuptools_kwargs['install_requires'] = install_requires

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_requires
    
  •        setuptools_kwargs['install_requires'] = install_requires
    
  • (setup_requires,
  • install_requires) = check_dependency_versions(min_versions)
    
  • if _have_setuptools:
  •    setuptools_kwargs['setup_requires'] = setup_requires
    
  •    setuptools_kwargs['install_requires'] = install_requires
    

This 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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If patsy is missing, then install_requires contains 'patsy' (which triggers a chain reaction) ?


write_version_py()

Expand Down