Skip to content

Commit

Permalink
Handle source distributions correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
pkch committed Mar 14, 2017
1 parent 63f7059 commit fff9093
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 @@ -19,7 +19,7 @@

git.verify_git_integrity_or_abort(".")

if 'bdist_wheel' in sys.argv[1:]:
if any(dist_arg in sys.argv[1:] for dist_arg in ('bdist_wheel', 'sdist')):
version = base_version
else:
version = __version__
Expand Down

0 comments on commit fff9093

Please sign in to comment.