Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r12 r287  
    1212except ImportError:
    1313    pass
     14
     15try:
     16    from pip.req import parse_requirements
     17    import os
     18    install_reqs = parse_requirements(os.path.join(os.path.dirname(__file__), 'requirements.txt'))
     19    reqs = [str(ir.req) for ir in install_reqs]
     20except ImportError:
     21    reqs = []
    1422
    1523# This should probably be pulled from constants.py
     
    6573
    6674    # Dependencies
    67     install_requires=[],
     75    install_requires=reqs,
    6876
    6977    # Files
Note: See TracChangeset for help on using the changeset viewer.