Newer
Older
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
def main():
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup
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
version_dict = {}
init_filename = "islpy/version.py"
exec(compile(open(init_filename, "r").read(), init_filename, "exec"), version_dict)
setup(name="boxtree",
version=version_dict["VERSION_TEXT"],
description="Quadtree/octree building in Python and OpenCL",
long_description=open("README.rst", "rt").read(),
author="Andreas Kloeckner",
author_email="inform@tiker.net",
license = "MIT",
url="http://wiki.tiker.net/boxtree",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
],
packages=["boxtree"],
install_requires=[
"pyopencl>=2012.2",
"Mako>=0.7",
"pytest>=2",
],
# 2to3 invocation
cmdclass={'build_py': build_py})
if __name__ == '__main__':
main()