python working?!?!
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
include README.adoc
|
||||
include README.html
|
||||
@@ -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.
|
||||
|
||||
@@ -21,5 +21,5 @@
|
||||
"scripts": {
|
||||
"prepublishOnly": "cp README.adoc README;make"
|
||||
},
|
||||
"version": "0.0.28"
|
||||
"version": "0.0.33"
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
2
setup.py
2
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."
|
||||
|
||||
Reference in New Issue
Block a user