-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (42 loc) · 1.47 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
"""Setup script for BUDEFF."""
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize
def readme():
"""Loads the readme file for AMPAL."""
with open('README.md', 'r') as inf:
return inf.read()
setup(name='BUDEFF',
version='1.0.0',
description='A Python implementation of the BUDE force field.',
long_description=readme(),
long_description_content_type='text/markdown; charset=UTF-8; variant=GFM',
url='https://github.com/isambard-uob/buff',
author='Woolfson Group, University of Bristol',
author_email='[email protected]',
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
# This code automatically builds the Cython extensions.
ext_modules=cythonize(
[Extension(
"budeff.calculate_energy",
["src/budeff/calculate_energy.pyx"],
include_dir=["src/budeff/"],
language='c++'),
]
),
install_requires=[
'Cython',
'ampal'
],
zip_safe=False,
)