python distribute try again

This commit is contained in:
Ciro Santilli
2020-03-18 00:00:00 +00:00
parent 1ce4a4dff4
commit 27496e02b8
6 changed files with 40 additions and 4 deletions

View File

@@ -1,12 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
https://github.com/cirosantilli/china-dictatorship#mirrors
'''
import json
from setuptools import setup, find_packages
with open('package.json') as f:
package_json = json.load(f)
version = package_json['version']
setup(
name='china-dictatorship',
version='0.0.1',
version=version,
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(),
long_description='2018新疆改造中心1989六四事件1999法轮功 2019 996.ICU, 2018包子露宪2015 710律师劫2015巴拿马文件 邓家贵2017低端人口2008西藏骚乱',
url='https://github.com/cirosantilli/china-dictatorship',
author='Ciro Santilli',
@@ -14,4 +26,8 @@ setup(
packages=find_packages(),
include_package_data=True,
scripts=['china-dictatorship.py'],
data_files=[
'README.adoc',
'README.html',
],
)