setup.py 2.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2013-2017 Max-Planck-Society
#
# IMAGINE is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

import os
from setuptools import setup, find_packages

exec(open('imagine/version.py').read())

#from distutils.core import setup
# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(name = "imagine",
      version = __version__,
      author = "Theo Steininger",
      author_email = "theos@mpa-garching.mpg.de",
      description = ("A framework for galactic magnetic field model analysis."),
37
      license = "GPLv3",
38 39 40
      keywords = "",
      #url = "https://gitlab.mpcdf.mpg.de/ift/keepers",
      packages=find_packages(),
41
      package_data={'imagine.observers.hammurapy': ['input/*'],},
42
      package_dir={"imagine": "imagine"},
Theo Steininger's avatar
Theo Steininger committed
43
      dependency_links=[
Martin Reinecke's avatar
Martin Reinecke committed
44
        'git+https://gitlab.mpcdf.mpg.de/ift/nifty.git/@NIFTy_3#egg=ift_nifty-3.0.3'],
Theo Steininger's avatar
Theo Steininger committed
45
      install_requires=['ift_nifty>=3.0.3', 'simplejson'],
46 47
      zip_safe=False,
      classifiers=[
48
         "Development Status :: 4 - Beta",
49
         "Topic :: Utilities",
50 51
         "License :: OSI Approved :: GNU General Public License v3 "
         "or later (GPLv3+)"],
Martin Reinecke's avatar
Martin Reinecke committed
52
)