Skip to content

Commit fdcaece

Browse files
committed
Update the deploy script (for the twine upload process)
1 parent e2b0224 commit fdcaece

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
print("*** No flake8 issues detected. Continuing...")
4747
print("\n*** Rebuilding distribution packages: ***\n")
4848
os.system('rm -f dist/*.egg; rm -f dist/*.tar.gz; rm -f dist/*.whl')
49+
os.system('rm -rf build/bdist.*; rm -rf build/lib')
4950
os.system('python setup.py sdist bdist_wheel') # Create new tar/wheel
5051
print("\n*** Installing twine: *** (Required for PyPI uploads)\n")
5152
os.system("python -m pip install --upgrade 'twine>=1.15.0'")

0 commit comments

Comments
 (0)