try to publish again

This commit is contained in:
Ciro Santilli
2020-05-14 03:00:02 +00:00
parent edc13c30ad
commit 794bee2b3a
3 changed files with 17 additions and 12 deletions

View File

@@ -22,5 +22,5 @@
"scripts": {
"prepublishOnly": "cp README.adoc README;make"
},
"version": "0.0.58"
"version": "0.0.59"
}

View File

@@ -31,16 +31,21 @@ new_version="$(./push-mirrors-bump-package-json-version)"
npm publish
git add package.json
# Python package.
./push-mirrors-bump-setup-py-version
# Initial one time setup.
#python3 -m pip install --user setuptools wheel twine
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
## Python package. TODO broken.
## error: invalid command 'bdist_wheel'
## fuck you python packaging.
## Initial setup:
##sudo apt install python3-testresources
##python3 -m pip install --user --upgrade setuptools wheel
#./push-mirrors-bump-setup-py-version
## Initial one time setup.
##python3 -m pip install --user setuptools wheel twine
#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
# Bump package versions
git commit -m 'bump package version'

View File

@@ -16,7 +16,7 @@ with open(path.join(this_directory, 'README.adoc')) as f:
setup(
name='china-dictatorship',
version='0.0.58',
version='0.0.59',
description='2018新疆改造中心1989六四事件1999法轮功 2019 996.ICU, 2018包子露宪2015 710律师劫2015巴拿马文件 邓家贵2017低端人口2008西藏骚乱',
long_description=long_description,
# Otherwise upload fails with: "The description failed to render in the default format of reStructuredText."