-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
67 lines (63 loc) · 2.16 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
56
57
58
59
60
61
62
63
64
65
66
67
import os, sys
#from setuptools import setup
import distutils.core
# Building through 2to3, for Python 3 (see also setup(...,
# cmdclass=...), below:
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
# 2.x
from distutils.command.build_py import build_py
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extras = {}
if sys.version_info >= (3,):
extras['use_2to3'] = True
readme = 'README'
distutils.core.setup(
name='ad',
version='1.3.2',
author='Abraham Lee',
author_email='[email protected]',
description='Fast, transparent first- and second-order automatic differentiation',
url='http://pythonhosted.org/ad',
license='BSD License',
long_description=read(readme),
package_data={'': [readme]},
#include_package_data=True,
packages=['ad', 'ad.admath', 'ad.linalg'],
keywords=[
'automatic differentiation',
'first order',
'second order',
'derivative',
'algorithmic differentiation',
'computational differentiation',
'optimization',
'linear algebra'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Education',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
cmdclass={'build_py': build_py},
**extras
)