From ad2b38a21d835c5a359827c044f5550922b6424a Mon Sep 17 00:00:00 2001 From: "Boeckenhoff, Daniel (dboe)" <daniel.boeckenhoff@ipp.mpg.de> Date: Tue, 7 Aug 2018 10:44:23 +0200 Subject: [PATCH] independent __about__ file --- setup.py | 10 +++++----- tfields/__about__.py | 5 +++++ tfields/__init__.py | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 tfields/__about__.py diff --git a/setup.py b/setup.py index 20fc20a..a8f3a42 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 0000000..549d7ec --- /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 3924434..731b92a 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 -- GitLab