Updated setup.py
This commit is contained in:
@@ -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 = ''
|
||||||
with open(long_description_file_path) as f:
|
try:
|
||||||
long_description = f.read()
|
with open(long_description_file_path) as f:
|
||||||
|
long_description = f.read()
|
||||||
|
except IOError:
|
||||||
|
pass
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=package_name,
|
name=package_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user