-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
33 lines (30 loc) · 831 Bytes
/
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
#!/usr/bin/env python
import os
import numpy
from setuptools import setup, find_packages
from Cython.Build import cythonize
def find_pyx(path='.'):
pyx_files = []
for root, dirs, filenames in os.walk(path):
for fname in filenames:
if fname.endswith('.pyx'):
pyx_files.append(os.path.join(root, fname))
return pyx_files
setup(
name = "coral-growth",
version = '0.1.0',
author = 'joelsimon.net',
author_email='[email protected]',
install_requires = ['numpy', 'cython'],
license = 'MIT',
include_dirs = [numpy.get_include()],
packages = find_packages(),
ext_modules = cythonize(
find_pyx(),
include_path = [numpy.get_include()],
),
include_package_data = True,
package_data = {
'cymesh': ['*.pxd'],
},
)