Last active
May 18, 2019 08:35
-
-
Save katoozi/8ad821f14737acff3a69530d4481bde1 to your computer and use it in GitHub Desktop.
distribute django package with one command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
python3 setup.py sdist bdist_wheel | |
twine upload dist/* --verbose | |
read -p "Delete build/ and dist/ [y/n/n]: " answer | |
if [ "$answer" = "y" ] | |
then | |
rm -d -r build/ dist/ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment