Skip to content

Commit

Permalink
Merge pull request #20 from w3c/ato/setup_anywhere
Browse files Browse the repository at this point in the history
Lookup requirements file in same directory as setup.py, not the cwd
  • Loading branch information
jgraham committed Oct 10, 2014
2 parents 05a55d7 + 18b8799 commit fcc2206
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@

from setuptools import setup, find_packages

here = os.path.split(__file__)[0]

PACKAGE_NAME = 'wptrunner'
PACKAGE_VERSION = '1.4'

# Dependencies
with open('requirements.txt') as f:
with open(os.path.join(here, "requirements.txt")) as f:
deps = f.read().splitlines()

# Browser-specific requirements
requirements_files = glob.glob("requirements_*.txt")
requirements_files = glob.glob(os.path.join(here, "requirements_*.txt"))

profile_dest = None
dest_exists = False
Expand Down

0 comments on commit fcc2206

Please sign in to comment.