Commit c1c2a77e authored by eric pellegrini's avatar eric pellegrini
Browse files

the README used for description is now in md format

added new __classifiers__
parent 819b6146
...@@ -23,12 +23,7 @@ else: ...@@ -23,12 +23,7 @@ else:
command_options["build_sphinx"]["version"] = ("setup.py",pkginfo["__version__"]) command_options["build_sphinx"]["version"] = ("setup.py",pkginfo["__version__"])
command_options["build_sphinx"]["source_dir"] = ('setup.py', 'docs') command_options["build_sphinx"]["source_dir"] = ('setup.py', 'docs')
# Add additional information to pkginfo with open("README.md","r") as f:
pkginfo["__classifiers__"] = ["Programming Language :: Python :: 3","License :: OSI Approved :: MIT License","Operating System :: OS Independent"]
pkginfo["__long_description_content_type__"] ="text/markdown"
with open("README.rst","r") as f:
pkginfo["__long_description__"] = f.read() pkginfo["__long_description__"] = f.read()
packages = find_packages("src") packages = find_packages("src")
...@@ -52,7 +47,7 @@ setup(name = name, ...@@ -52,7 +47,7 @@ setup(name = name,
packages = packages, packages = packages,
package_dir = {"" : "src"}, package_dir = {"" : "src"},
platforms = ['Unix','Windows'], platforms = ['Unix','Windows'],
install_requires = ["pyyaml","Jinja2"], install_requires = ["pyyaml","jinja2"],
cmdclass = cmdclass, cmdclass = cmdclass,
scripts = scripts, scripts = scripts,
command_options = command_options, command_options = command_options,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment