diff --git a/setup.py b/setup.py index 20fc20a69387625797b151e5230b4eb9cc778e04..a8f3a425c263128f561b07287f0241302bf58d91 100644 --- a/setup.py +++ b/setup.py @@ -11,15 +11,15 @@ Publishing: """ from setuptools import setup, find_packages -import header +execfile('...tfields/__about__.py') setup( name='tfields', - version=header.__version__, + version=__version__, description='numpy + sympy implementation of tensor fields with attached coordinate systems', - author=header.__author__, - author_email=header.__email__, - license='MIT', + author=__author__, + author_email=__email__, + license=__license__, packages=find_packages(), test_require=[ 'doctest', diff --git a/tfields/__about__.py b/tfields/__about__.py new file mode 100644 index 0000000000000000000000000000000000000000..549d7ece6d2b2a644c52fdf389f7cafab1d7fd6c --- /dev/null +++ b/tfields/__about__.py @@ -0,0 +1,5 @@ +__version__ = '0.1.0.dev8' +__author__ = "Daniel Boeckenhoff" +__email__ = "daniel.boeckenhoff@ipp.mpg.de" +__license__ = "Apache License, Version 2.0" +__copyright__ = "2018 %s" % __author__ diff --git a/tfields/__init__.py b/tfields/__init__.py index 392443487c93d467009a259a9df51a701ff9fedd..731b92a9ddf4f39f3607d661947451d6c73a62b5 100644 --- a/tfields/__init__.py +++ b/tfields/__init__.py @@ -1,4 +1,4 @@ -from header import * +from .__about__ import * from . import core from . import bases