forked from essex-lab/grand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (23 loc) · 821 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
"""
Setup script to facilitate installation of the GCMC OpenMM scripts
Marley L. Samways
"""
import os
from setuptools import setup
# Read version number from the __init__.py file
with open(os.path.join('grand', '__init__.py'), 'r') as f:
for line in f.readlines():
if '__version__' in line:
version = line.split()[-1].strip('"')
setup(name="grand",
version=version,
description="OpenMM-based implementation of grand canonical Monte Carlo (GCMC)",
author="Marley L. Samways",
author_email="[email protected]",
packages=["grand", "grand.tests"],
#install_requires=["numpy", "mdtraj"],
setup_requires=["pytest-runner"],
tests_require=["pytest"],
test_suite="grand.tests",
package_data={"grand": ["data/*", "data/tests/*"]}
)