setup.py 1.97 KB
Newer Older
Marco Selig's avatar
Marco Selig committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
## NIFTY (Numerical Information Field Theory) has been developed at the
## Max-Planck-Institute for Astrophysics.
##
## Copyright (C) 2013 Max-Planck-Society
##
## Author: Marco Selig
## Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/>
##
## 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/>.

theos's avatar
theos committed
22
from setuptools import setup, find_packages
Marco Selig's avatar
Marco Selig committed
23
import os
24

25
exec(open('version.py').read())
Marco Selig's avatar
Marco Selig committed
26

Marco Selig's avatar
Marco Selig committed
27
setup(name="ift_nifty",
28
      version=__version__,
Marco Selig's avatar
Marco Selig committed
29 30
      author="Marco Selig",
      author_email="mselig@mpa-garching.mpg.de",
Marco Selig's avatar
Marco Selig committed
31 32 33
      maintainer="Theo Steininger",
      maintainer_email="theos@mpa-garching.mpg.de",
      description="Numerical Information Field Theory",
Marco Selig's avatar
Marco Selig committed
34
      url="http://www.mpa-garching.mpg.de/ift/nifty/",
theos's avatar
theos committed
35
      packages=find_packages(),
Marco Selig's avatar
Marco Selig committed
36
      package_dir={"nifty": ""},
37
      zip_safe=False,
theos's avatar
theos committed
38
      dependency_links=[
39
        'git+https://gitlab.mpcdf.mpg.de/ift/keepers.git#egg=keepers',
theos's avatar
theos committed
40
        'git+https://gitlab.mpcdf.mpg.de/ift/d2o.git#egg=d2o'],
theos's avatar
theos committed
41
      install_requires=['keepers', 'd2o'],
42 43
      data_files=[(os.path.expanduser('~') + "/.nifty",
                   ['nifty_config', 'd2o_config'])],
theos's avatar
theos committed
44
      package_data={'nifty.demos': ['demo_faraday_map.npy'],
45
                    },
46 47 48 49
      license="GPLv3",
      classifiers=[
        "Development Status :: 4 - Beta",
        "Topic :: Utilities",
theos's avatar
theos committed
50 51 52
        "License :: OSI Approved :: GNU General Public License v3 "
        "or later (GPLv3+)"],
      )