setup.py 1.98 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# D2O
# Copyright (C) 2016  Theo Steininger
#
# Author: Theo Steininger
#
# 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
18
19
20
21

import os
from setuptools import setup

theos's avatar
theos committed
22
exec(open('d2o/version.py').read())
23

theos's avatar
theos committed
24
25
26
27
28
29
30
31
# 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(
32
33
    name = "d2o",
    version = __version__,
theos's avatar
theos committed
34
35
36
37
38
39
    author = "Theo Steininger",
    author_email = "theos@mpa-garching.mpg.de",
    description = ("A distributed data object for parallel high-performance "
                   "computing in Python"),
    keywords = "parallelization, numerics, MPI",
    url = "https://gitlab.mpcdf.mpg.de/ift/D2O",
Theo Steininger's avatar
Theo Steininger committed
40
    packages=['d2o', 'd2o.config', 'test'],
theos's avatar
theos committed
41
42
    zip_safe=False,
    dependency_links = [
Theo Steininger's avatar
Theo Steininger committed
43
44
45
        "git+https://gitlab.mpcdf.mpg.de/ift/keepers.git#egg=keepers-0.3.4",
        "git+https://gitlab.mpcdf.mpg.de/ift/mpi_dummy.git#egg=mpi_dummy-1.0.0"],
    install_requires=['keepers>=0.3.4', 'mpi_dummy>=1.0.0'],
theos's avatar
theos committed
46
47
    long_description=read('README.rst'),
    license = "GPLv3",
theos's avatar
theos committed
48
    classifiers=[
theos's avatar
theos committed
49
        "Development Status :: 5 - Production/Stable",
theos's avatar
theos committed
50
        "Topic :: Utilities",
theos's avatar
theos committed
51
52
        "License :: OSI Approved :: GNU General Public License v3 "
        "or later (GPLv3+)"
theos's avatar
theos committed
53
    ],
theos's avatar
theos committed
54
55
)