Updated setup.py
parent
8a85334f68
commit
64a9e8371c
7
setup.py
7
setup.py
|
|
@ -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:
|
||||||
|
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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue