forked from tritemio/FRETBursts
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (19 loc) · 765 Bytes
/
setup.py
File metadata and controls
24 lines (19 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from setuptools import setup
from setuptools.extension import Extension
import numpy as np
## Metadata
project_name = 'fretbursts'
from Cython.Build import cythonize
ext_modules = [Extension("fretbursts.burstsearch_c",
[project_name + "/phtools/burstsearch_c.pyx"]),
Extension("fretbursts.phrates_c",
[project_name + "/phtools/phrates_cy.pyx"],
include_dirs = ["."],)]
## Configure setup.py commands
setup(
include_dirs = [np.get_include()],
ext_modules = cythonize(ext_modules),
include_package_data = True,
packages = ['fretbursts', 'fretbursts.utils', 'fretbursts.fit',
'fretbursts.phtools', 'fretbursts.dataload'],
)