Mercurial > nagslang
changeset 290:e3ec67b04c03
Avoid long lines
author | David Fraser <davidf@sjsoft.com> |
---|---|
date | Thu, 05 Sep 2013 17:13:29 +0200 |
parents | d7ab2594f8d2 |
children | c0e563fdfd90 |
files | setup.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Thu Sep 05 17:09:59 2013 +0200 +++ b/setup.py Thu Sep 05 17:13:29 2013 +0200 @@ -15,7 +15,9 @@ try: from pip.req import parse_requirements import os - install_reqs = parse_requirements(os.path.join(os.path.dirname(__file__), 'requirements.txt')) + game_dir = os.path.dirname(__file__) + req_file = os.path.join(game_dir, 'requirements.txt') + install_reqs = parse_requirements(req_file) reqs = [str(ir.req) for ir in install_reqs] except ImportError: reqs = []