I fucking give up making python work, impossible
This commit is contained in:
12
push-mirrors
12
push-mirrors
@@ -9,23 +9,23 @@ make
|
||||
# NPM package.
|
||||
# Updates package.json version, which other systems read if possible.
|
||||
./push-mirrors-bump-package-json-version
|
||||
#npm publish
|
||||
#git add package.json
|
||||
npm publish
|
||||
git add package.json
|
||||
|
||||
# Python package.
|
||||
# Initial one time setup.
|
||||
#python -m pip install --user setuptools wheel twine
|
||||
python -m pip install --user setuptools wheel twine
|
||||
./push-mirrors-bump-setup-py-version
|
||||
cp README.adoc README.html china_dictatorship
|
||||
python setup.py sdist bdist_wheel
|
||||
# Asks for username and password every time, unless you setup ~/.pypirc.
|
||||
twine upload dist/*
|
||||
rm -rf build dist *.egg-info
|
||||
#git add setup.py
|
||||
git add setup.py
|
||||
|
||||
# Bump package versions
|
||||
#git commit -m 'bump package version'
|
||||
#git push
|
||||
git commit -m 'bump package version'
|
||||
git push
|
||||
|
||||
git push git@gitlab.com:cirosantilli/china-dictatorship.git
|
||||
git push git@bitbucket.org:cirosantilli/china-dictatorship.git
|
||||
|
||||
Reference in New Issue
Block a user