#!/usr/bin/env python # -*- coding: latin1 -*- def main(): 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 = "boxtree/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', # We use conditional expressions, so 2.5 is the bare minimum. 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', # 3.x has not yet been tested. '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=[ "pytools>=2013.1", "pyopencl>=2013.1", "Mako>=0.7.3", "pytest>=2.3", ], # 2to3 invocation cmdclass={'build_py': build_py}) if __name__ == '__main__': main()