Updated setup.py

pull/32/head
Fabio Caccamo 2017-11-23 12:10:19 +01:00
parent 8a85334f68
commit 64a9e8371c
1 changed files with 5 additions and 4 deletions

View File

@ -4,18 +4,19 @@
from setuptools import find_packages, setup from setuptools import find_packages, setup
import os import os
# import pypandoc
exec(open('admin_interface/version.py').read()) exec(open('admin_interface/version.py').read())
github_url = 'https://github.com/fabiocaccamo' github_url = 'https://github.com/fabiocaccamo'
package_name = 'django-admin-interface' package_name = 'django-admin-interface'
package_path = os.path.abspath(os.path.dirname(__file__)) package_path = os.path.abspath(os.path.dirname(__file__))
# long_description = pypandoc.convert(os.path.join(package_path, 'README.md'), 'rst')
long_description_file_path = os.path.join(package_path, 'README.rst') long_description_file_path = os.path.join(package_path, 'README.rst')
long_description = '' long_description = ''
try:
with open(long_description_file_path) as f: with open(long_description_file_path) as f:
long_description = f.read() long_description = f.read()
except IOError:
pass
setup( setup(
name=package_name, name=package_name,