diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index b9a1239..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,2 +0,0 @@ -include README.adoc -include README.html diff --git a/README.adoc b/README.adoc index ad81b1f..fa90237 100644 --- a/README.adoc +++ b/README.adoc @@ -4918,8 +4918,6 @@ python3 -m pip install --user --upgrade china-dictatorship china-dictatorship.py > README.html .... -but TODO currently broken because the README.adoc/README.html don't get installed no matter what I try, fucking terrible Python distribution system. - We later found on Google by chance that libraries.io picked it up and rendered the README.adoc nicely as well: https://libraries.io/pypi/china-dictatorship (https://web.archive.org/web/20200318043050/https://libraries.io/pypi/china-dictatorship[archive]). This is why packaging is a good idea. TODO: create an Ubuntu PPA and Ruby gem as well. diff --git a/package.json b/package.json index c148e49..ca9b83e 100644 --- a/package.json +++ b/package.json @@ -21,5 +21,5 @@ "scripts": { "prepublishOnly": "cp README.adoc README;make" }, - "version": "0.0.28" + "version": "0.0.33" } diff --git a/push-mirrors b/push-mirrors index 8c5a078..7c52d9b 100755 --- a/push-mirrors +++ b/push-mirrors @@ -14,8 +14,8 @@ git add package.json # Python package. # Initial one time setup. -python -m pip install --user setuptools wheel twine ./push-mirrors-bump-setup-py-version +python -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. diff --git a/setup.py b/setup.py index 7204b27..d248005 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.28', + version='0.0.33', 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."