Created
July 16, 2014 12:12
-
-
Save calmrat/71517b08536776399198 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
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.