Skip to content

Commit

Permalink
making setup.py RTD friendly -- py3.5 compatable
Browse files Browse the repository at this point in the history
  • Loading branch information
lockefox committed Sep 24, 2018
1 parent 281e59c commit 2fa9b84
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def initialize_options(self):
self.pytest_args = [
'tests',
'-rx',
f'--cov={__library_name__}',
'--cov={}'.format(__library_name__),
'--cov-report=term-missing',
'--cov-config=.coveragerc',
]
Expand All @@ -65,7 +65,8 @@ def run_tests(self):
author='John Purcell',
author_email='jpurcell.ee@gmail.com',
url=f'https://github.com/lockefox/{__package_name__}',
download_url=f'https://github.com/lockefox/{__package_name__}/tarball/v{get_version(__library_name__)}',
download_url='https://github.com/lockefox/{}/tarball/v{}'\
.format(__package_name__, get_version(__library_name__)),
version=get_version(__library_name__),
license='MIT',
classifiers=[
Expand All @@ -80,10 +81,10 @@ def run_tests(self):
},
entry_points={
'console_scripts': [
f'summarize={__library_name__}.summarize:run_main',
'summarize={}.summarize:run_main'.format(__library_name__),
]
},
python_requires='>=3.6',
python_requires='>=3.5',
install_requires=[
'ProsperCommon',
'plumbum',
Expand Down

0 comments on commit 2fa9b84

Please sign in to comment.