Fix package readme

The package was using the README.rst file that included a raw directive,
which is not allowed by PyPi, so the reame wasn't being rendered in
PyPi.
This commit is contained in:
Gorka Eguileor
2018-06-14 20:12:39 +02:00
parent 8c2865285c
commit ce4a475da1
6 changed files with 201 additions and 184 deletions

View File

@@ -3,9 +3,12 @@
import setuptools
with open('README.rst') as readme_file:
with open('readme_prefix.rst') as readme_file:
readme = readme_file.read()
with open('readme_postfix.rst') as readme_file:
readme += readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
@@ -59,7 +62,7 @@ setuptools.setup(
packages=setuptools.find_packages(exclude=['tmp', 'tests*']),
include_package_data=False,
install_requires=requirements,
extras_requires=extras,
extras_require=extras,
license="Apache Software License 2.0",
zip_safe=False,
keywords='cinderlib',