-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (35 loc) · 779 Bytes
/
setup.py
File metadata and controls
40 lines (35 loc) · 779 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Jan 2 12:49:21 2017
setup.py file for pymef3 library
Ing.,Mgr. (MSc.) Jan Cimbálník
Biomedical engineering
International Clinical Research Center
St. Anne's University Hospital in Brno
Czech Republic
&
Mayo systems electrophysiology lab
Mayo Clinic
200 1st St SW
Rochester, MN
United States
"""
from setuptools import setup, Extension
import numpy
# the c extension module
MEF_FILE_EXT = Extension(
"pymef.mef_file.pymef3_file",
["pymef/mef_file/pymef3_file.c"],
include_dirs=[
numpy.get_include(),
"meflib/meflib",
],
extra_compile_args=["-O3"],
)
setup(
name="pymef",
zip_safe=False,
packages=["pymef", "pymef.mef_file"],
ext_modules=[MEF_FILE_EXT],
)