forked from numba/numba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (32 loc) · 1.07 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
import re
import sys
from os.path import join
from distutils.core import setup, Extension
import numpy
if sys.version_info[:2] < (2, 5):
raise Exception('numba requires Python 2.5 or greater.')
kwds = {}
kwds['long_description'] = open('README').read()
setup(
name = "numba",
author = "Travis Oliphant",
author_email = "[email protected]",
url = "https://github.com/ContinuumIO/numba",
license = "BSD",
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Topic :: Utilities",
],
description = "compiling Python code for NumPy",
packages = ["numba"],
ext_modules = [Extension(name = "numba._ext",
sources = ["numba/_ext.c"],
include_dirs=[numpy.get_include()])],
version = '0.1'
)