stop python attempts for now

This commit is contained in:
Ciro Santilli
2020-03-18 00:00:11 +00:00
parent e7e446080e
commit 033f69c016
2 changed files with 7 additions and 3 deletions

2
MANIFEST.in Normal file
View File

@@ -0,0 +1,2 @@
include README.adoc
include README.html

View File

@@ -4894,7 +4894,7 @@ Some have Chinese subtitles, e.g.: https://www.youtube.com/watch?v=eFSMvtS6SYQ a
** https://github.com/taibangle/lennon-wall
[[mirrors]]
== Git mirrors of this repository
== Mirrors of this repository
The cool thing about Git is that we can maintain several mirrors on multiple websites very easily:
@@ -4911,14 +4911,16 @@ china-dictatorship > README.html
This would force China to also block package managers to block this repo.
We managed to upload a Python PyPi package at: https://pypi.org/project/china-dictatorship/ but TODO needs implementing now. Usage will be as:
We also managed to upload a Python PyPi package at: https://pypi.org/project/china-dictatorship/ Usage will be as:
....
python3 -m pip install --user --upgrade china-dictatorship
china-dictatorship.py > README.html
....
We later found on Google by chance that libraries.io picked it up and rendered the README 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.
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.