From 794bee2b3a15dd386fc3aac04a3b597ee4e8b956 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 14 May 2020 03:00:02 +0000 Subject: [PATCH] try to publish again --- package.json | 2 +- push-mirrors | 25 +++++++++++++++---------- setup.py | 2 +- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 00335c8..5547bc5 100644 --- a/package.json +++ b/package.json @@ -22,5 +22,5 @@ "scripts": { "prepublishOnly": "cp README.adoc README;make" }, - "version": "0.0.58" + "version": "0.0.59" } diff --git a/push-mirrors b/push-mirrors index bd20025..01d4162 100755 --- a/push-mirrors +++ b/push-mirrors @@ -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' diff --git a/setup.py b/setup.py index 99a87bb..3efec05 100644 --- a/setup.py +++ b/setup.py @@ -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."