Skip to content

Instantly share code, notes, and snippets.

@calmrat
Created July 16, 2014 12:12
Show Gist options
  • Save calmrat/71517b08536776399198 to your computer and use it in GitHub Desktop.
Save calmrat/71517b08536776399198 to your computer and use it in GitHub Desktop.
cd /tmp
cat > ./setup.py <<DELIM
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: "Chris Ward" <[email protected]>
from setuptools import setup
default_setup = dict(
name='numpy_install_test',
description='https://github.com/numpy/numpy/issues/2434',
provides=['numpy_install_test'],
install_requires=['pandas'],
requires=['pandas'],
license='GPLv3',
author='Chris Ward',
author_email='[email protected]',
)
setup(**default_setup)
DELIM
virtualenv --no-site-packages ~/virtenvs/nonumpy
source ~/virtenvs/nonumpy/bin/activate
python setup.py install
@calmrat
Copy link
Author

calmrat commented Jul 16, 2014

But if i just do 'pip install pandas' manually, everything works. So this might be an issue with Pandas or setuptools... but the failure is only occuring when installing numpy as a dependency (of a dependency) through install_requires director, it seems.

@rgommers
Copy link

pip install pandas isn't quite the same dependency link, but putting this setup.py in a tmpdir and then doing pip install . works fine, so it's indeed a difference between setuptools and pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment