Changeset 290:e3ec67b04c03


Ignore:
Timestamp:
Sep 5, 2013, 3:13:29 PM (7 years ago)
Author:
David Fraser <davidf@…>
Branch:
default
Message:

Avoid long lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r287 r290  
    1616    from pip.req import parse_requirements
    1717    import os
    18     install_reqs = parse_requirements(os.path.join(os.path.dirname(__file__), 'requirements.txt'))
     18    game_dir = os.path.dirname(__file__)
     19    req_file = os.path.join(game_dir, 'requirements.txt')
     20    install_reqs = parse_requirements(req_file)
    1921    reqs = [str(ir.req) for ir in install_reqs]
    2022except ImportError:
Note: See TracChangeset for help on using the changeset viewer.