setup.py 1.22 KB
Newer Older
theos's avatar
theos committed
1
2
3
4
5
# -*- coding: utf-8 -*-

import os
from setuptools import setup

theos's avatar
theos committed
6
exec(open('d2o/version.py').read())
7

theos's avatar
theos committed
8
9
10
11
12
13
14
15
# 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(
16
17
    name = "d2o",
    version = __version__,
theos's avatar
theos committed
18
19
20
21
22
23
    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",
theos's avatar
theos committed
24
    packages=['d2o', 'd2o.config', 'd2o.mpi_dummy', 'test'],
theos's avatar
theos committed
25
26
27
28
    zip_safe=False,
    dependency_links = [
        "git+https://gitlab.mpcdf.mpg.de/ift/keepers.git#egg=keepers"],
    install_requires = ["keepers"],
theos's avatar
theos committed
29
30
    long_description=read('README.rst'),
    license = "GPLv3",
theos's avatar
theos committed
31
    classifiers=[
theos's avatar
theos committed
32
        "Development Status :: 5 - Production/Stable",
theos's avatar
theos committed
33
        "Topic :: Utilities",
theos's avatar
theos committed
34
35
        "License :: OSI Approved :: GNU General Public License v3 "
        "or later (GPLv3+)"
theos's avatar
theos committed
36
37
    ],
)