-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (48 loc) · 1.41 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import os
import sys
import imp
import numpy
from distutils.core import setup, Extension
from Cython.Build import cythonize
from Cython.Distutils import build_ext
try:
__doc__ = open('README.md').read()
except IOError:
pass
__file__ = './'
ROOT = 'spin'
LOCATION = os.path.abspath(os.path.dirname(__file__))
NAME = "spin"
VERSION = "0.1"
AUTHOR = "Michael Habeck"
EMAIL = "mhabeck@gwdg.de"
DESCRIPTION = __doc__
LICENSE = 'MIT'
REQUIRES = ['numpy', 'scipy', 'csb']
os.environ['CFLAGS'] = '-Wno-cpp'
setup(
name=NAME,
packages=[NAME],
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
long_description=DESCRIPTION,
license=LICENSE,
requires=REQUIRES,
ext_modules=cythonize("spin/*.pyx"),
include_dirs = numpy.get_include(),
cmdclass={'build_ext': build_ext},
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Software Development :: Libraries')
)