diff options
author | James R. Barlow <jim@purplerock.ca> | 2017-10-27 00:04:25 -0700 |
---|---|---|
committer | James R. Barlow <jim@purplerock.ca> | 2017-10-27 00:04:25 -0700 |
commit | c0c7aec9350abcb7957032affc39758dff221595 (patch) | |
tree | 7cb5f22ea5a96c3d14ad1ff8c69f978bdf7b7001 /setup.py | |
parent | 96549f0949868027a2a12d95bcf3580835510635 (diff) |
Have Travis treat this as a primarily Python project
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -88,6 +88,10 @@ class BuildExt(build_ext): ext.extra_compile_args = opts build_ext.build_extensions(self) +tests_require = [line.strip() for line in + open('test_requirements.txt') + if line.strip() and not line.strip().startswith('#')] + setup( name='pikepdf', author='James R. Barlow', @@ -101,9 +105,7 @@ setup( zip_safe=False, setup_requires=['pytest-runner', 'setuptools-scm'], use_scm_version=True, - tests_require=[ - 'pytest', 'pytest-xdist', 'pytest-timeout', 'hypothesis', - 'Pillow'], + tests_require=tests_require, package_dir={'': 'src'}, packages=setuptools.find_packages('src'), classifiers=[ |