Commit d8d17b83 authored by Paul Erhart's avatar Paul Erhart

BUG: fixed setup.py

parent 63ea410b
......@@ -13,6 +13,6 @@ __license__ = 'GPL2+'
__credits__ = ['The dynasor developers team']
__version__ = '0.2'
__maintainer__ = 'The dynasor developers team'
__email__ = 'dynasor@materialsmodeling.org'
__maintainer_email__ = 'dynasor@materialsmodeling.org'
__status__ = 'beta-version'
__url__ = 'http://dynasor.materialsmodeling.org/'
......@@ -39,10 +39,9 @@ rho_j_k_s_ext = Extension('dsf._rho_j_k_s',
)
with open('hiphive/__init__.py') as fd:
with open('dsf/__init__.py') as fd:
lines = '\n'.join(fd.readlines())
version = re.search("__version__ = '(.*)'", lines).group(1)
author = re.search("__author__ = '(.*)'", lines).group(1)
maintainer = re.search("__maintainer__ = '(.*)'", lines).group(1)
maintainer_email = re.search("__maintainer_email__ = '(.*)'", lines).group(1)
url = re.search("__url__ = '(.*)'", lines).group(1)
......@@ -58,7 +57,6 @@ if 0:
setup(name=name,
version=version,
description=description,
author=author,
maintainer=maintainer,
maintainer_email=maintainer_email,
packages=['dsf', 'dsf/trajectory_reader'],
......
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