-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (18 loc) · 708 Bytes
/
setup.py
File metadata and controls
22 lines (18 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from distutils.core import setup, Extension
import numpy
module1 = Extension('_pymbar',
sources = ['pymbar/_pymbar.c'],
include_dirs = [numpy.get_include()])
# Dynamically calculate the version based on pymbar.VERSION.
version = __import__('pymbar').__version__
setup(
name = "pymbar",
version = version.replace(' ', '-'),
url = 'https://simtk.org/home/pymbar',
download_url = 'http://github.com/davecap/pymbar',
author = 'Shirts MR and Chodera JD',
author_email = 'mrshirts@gmail.com',
description = 'A Python implementation of the multistate Bennett acceptance ratio (MBAR)',
packages = ['pymbar'],
ext_modules = [module1],
)