-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (43 loc) · 1.26 KB
/
Copy pathsetup.py
File metadata and controls
48 lines (43 loc) · 1.26 KB
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
#!/usr/bin/env python
import os
import sys
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
try:
import numpy as np
except ImportError:
sys.exit("numpy must be installed before this package can be built")
DESC = """XX"""
# This should be valid ReST.
LONG_DESC = (DESC + "\n"
"XX")
setup(
name="pyrerp",
version="0.0.0+dev",
description=DESC,
long_description=LONG_DESC,
author="Nathaniel J. Smith",
author_email="njs@pobox.com",
license="XX None yet",
packages=["pyrerp"],
url="https://github.com/njsmith/pyrerp",
requires=["numpy", "scipy", "pandas", "patsy"],
classifiers =
[ "Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 2",
"Topic :: Scientific/Engineering",
],
ext_modules = [
Extension("pyrerp.io._erpss",
["pyrerp/io/_erpss.pyx"],
include_dirs=[np.get_include()],
),
Extension("pyrerp._artifact",
["pyrerp/_artifact.pyx"],
include_dirs=[np.get_include()],
libraries=["m"],
),
],
cmdclass={"build_ext": build_ext},
)