You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
551 B

#!/usr/bin/env python
# create a source distribution in zip format, and a universal wheel distribution (python 2+3)
# pip will install the universal wheel by default
# upload: twine upload dist/*.whl dist/*.zip
# references:
import subprocess
subprocess.check_call(['python', '', 'sdist', '--formats=zip', 'bdist_wheel', '--universal'])