Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

setup.py fails on pip <= 1.1 #1

Closed
electroniceagle opened this issue Feb 10, 2014 · 0 comments
Closed

setup.py fails on pip <= 1.1 #1

electroniceagle opened this issue Feb 10, 2014 · 0 comments

Comments

@electroniceagle
Copy link
Member

Package fails to install on early versions of pip. Looks like this package had same issue and a viable alternative in setup.py

vinta/haul#12
vinta/haul@e93f910

  Cloning https://github.com/nimbis/cmsplugin-newsplus.git to /tmp/pip-Sexz_l-build
  Running setup.py egg_info for package from git+https://github.com/nimbis/cmsplugin-newsplus.git
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/tmp/pip-Sexz_l-build/setup.py", line 28, in <module>
        install_requires=[str(x).split(' ')[0] for x in reqs],
      File "/home/deploy/site-nimbisservices/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1240, in parse_requirements
        skip_regex = options.skip_requirements_regex
    AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/tmp/pip-Sexz_l-build/setup.py", line 28, in <module>

    install_requires=[str(x).split(' ')[0] for x in reqs],

  File "/home/deploy/site-nimbisservices/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1240, in parse_requirements

    skip_regex = options.skip_requirements_regex

AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant