forked from inducer/codepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (46 loc) · 1.81 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
#!/usr/bin/env python
# -*- coding: latin1 -*-
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup
import glob
setup(name="codepy",
version="2013.4.sk",
description="Generate and execute native code at run time.",
long_description="""
CodePy is a C/C++ metaprogramming toolkit for Python. It handles two aspects of
native-code metaprogramming:
* Generating C/C++ source code.
* Compiling this source code and dynamically loading it into the
Python interpreter.
Both capabilities are meant to be used together, but also work
on their own. In particular, the code generation facilities work
well in conjunction with `PyCuda <http://mathema.tician.de/software/pycuda>`_.
Dynamic compilation and linking are so far only supported in Linux
with the GNU toolchain.
See also the `documentation <http://documen.tician.de/codepy>`_ and the
`git tree <http://github.com/inducer/codepy>`_.
""",
classifiers=[
'Development Status :: 4 - Beta',
'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 :: Software Development :: Libraries',
'Topic :: Utilities',
],
author=u"Andreas Kloeckner",
url="http://mathema.tician.de/software/codepy",
author_email="[email protected]",
license = "MIT",
packages=["codepy", "codepy.cgen"],
install_requires=[
"pytools>=8",
"cgen",
],
data_files=[("include/codepy", glob.glob("include/codepy/*.hpp"))],
)