I fucking give up making python work, impossible
This commit is contained in:
@@ -21,5 +21,5 @@
|
||||
"scripts": {
|
||||
"prepublishOnly": "cp README.adoc README;make"
|
||||
},
|
||||
"version": "0.0.17"
|
||||
"version": "0.0.19"
|
||||
}
|
||||
|
||||
12
push-mirrors
12
push-mirrors
@@ -9,23 +9,23 @@ make
|
||||
# NPM package.
|
||||
# Updates package.json version, which other systems read if possible.
|
||||
./push-mirrors-bump-package-json-version
|
||||
#npm publish
|
||||
#git add package.json
|
||||
npm publish
|
||||
git add package.json
|
||||
|
||||
# Python package.
|
||||
# Initial one time setup.
|
||||
#python -m pip install --user setuptools wheel twine
|
||||
python -m pip install --user setuptools wheel twine
|
||||
./push-mirrors-bump-setup-py-version
|
||||
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
|
||||
git add setup.py
|
||||
|
||||
# Bump package versions
|
||||
#git commit -m 'bump package version'
|
||||
#git push
|
||||
git commit -m 'bump package version'
|
||||
git push
|
||||
|
||||
git push git@gitlab.com:cirosantilli/china-dictatorship.git
|
||||
git push git@bitbucket.org:cirosantilli/china-dictatorship.git
|
||||
|
||||
3
setup.py
3
setup.py
@@ -11,7 +11,7 @@ from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name='china-dictatorship',
|
||||
version='0.0.17',
|
||||
version='0.0.19',
|
||||
description='2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱',
|
||||
# Fails with: "The description failed to render in the default format of reStructuredText."
|
||||
#long_description=readme(),
|
||||
@@ -22,6 +22,5 @@ setup(
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
scripts=['china-dictatorship.py'],
|
||||
# data_files=['README.adoc', 'README.html'],
|
||||
package_data={'china_dictatorship': ['README.adoc', 'README.html']},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user