Skip to content

Commit

Permalink
Make setup.py compatible with python 2.6 (slaypni#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
slaypni authored Oct 7, 2019
1 parent 0b0ab28 commit f8275ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def finalize_options(self):
with open(os.path.join(dir_path, 'README.rst')) as f:
long_description = f.read()

needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []

kwargs = {
Expand Down

0 comments on commit f8275ef

Please sign in to comment.