-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
30 lines (25 loc) · 1.06 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
#!/usr/bin/env python3
import sys
import numpy
if sys.version_info[0] < 3:
sys.exit('Sorry, Python < 3.x is not supported')
# Try using setuptools first, if it's installed
from setuptools import setup, find_packages
from setuptools.extension import Extension
# set up binding polynomial C extension
ext = Extension('pytc.indiv_models.bp_ext',['src/_bp_ext.c'], include_dirs=[numpy.get_include()])
# Need to add all dependencies to setup as we go!
setup(name='pytc-fitter',
packages=find_packages(),
version='1.1.5',
description="Python software package for analyzing Isothermal Titration Calorimetry data",
long_description=open("README.rst").read(),
author='Michael J. Harms',
author_email='[email protected]',
url='https://github.com/harmslab/pytc',
download_url='https://github.com/harmslab/pytc/tarball/1.1.5',
zip_safe=False,
install_requires=["matplotlib","scipy","numpy","emcee","corner"],
package_data={"":["*.h","src/*.h"]},
classifiers=['Programming Language :: Python'],
ext_modules=[ext])