forked from fcchou/HelixMC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (49 loc) · 1.44 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
48
49
50
51
52
#! /usr/bin/env python
from distutils.core import setup
from distutils.extension import Extension
import helixmc
import numpy
DISTNAME = 'helixmc'
DESCRIPTION = "Python-based Monte Carlo simulator for DNA/RNA duplexes."
LONG_DESCRIPTION = open('README.rst').read()
AUTHOR = 'Fang-Chieh Chou'
AUTHOR_EMAIL = '[email protected]'
URL = 'http://fcchou.github.com/HelixMC/'
LICENSE = 'GPL'
DOWNLOAD_URL = 'https://github.com/fcchou/HelixMC/tarball/master'
VERSION = helixmc.__version__
PLATFORMS = ["Linux", "Mac OS-X", "Unix"]
ext_modules = [Extension(
"helixmc._util_cython", ["helixmc/_util_cython.c"],
include_dirs=[numpy.get_include()]
)]
package_data = {'helixmc': ['data/*.npz', 'data/*.npy']}
setup(
name=DISTNAME,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
platforms=PLATFORMS,
download_url=DOWNLOAD_URL,
long_description=LONG_DESCRIPTION,
packages=['helixmc', 'helixmc.tests'],
scripts=['helixmc-run'],
package_data=package_data,
ext_modules=ext_modules,
requires=[
'numpy (>=1.6)',
'matplotlib (>=1.1)',
],
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS'
],
)