Skip to content

Commit 451f197

Browse files
committed
Handle source distributions correctly
1 parent 63f7059 commit 451f197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
git.verify_git_integrity_or_abort(".")
2121

22-
if 'bdist_wheel' in sys.argv[1:]:
22+
if any (dist_arg in sys.argv[1:] for dist_arg in ('bdist_wheel', 'sdist')):
2323
version = base_version
2424
else:
2525
version = __version__

0 commit comments

Comments
 (0)