-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (60 loc) · 2.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python
from setuptools import setup
# Modified from http://stackoverflow.com/questions/2058802/
# how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package
def version():
import os
import re
init = os.path.join("midtools", "__init__.py")
with open(init) as fp:
initData = fp.read()
match = re.search(r"^__version__ = ['\"]([^'\"]+)['\"]", initData, re.M)
if match:
return match.group(1)
else:
raise RuntimeError("Unable to find version string in %r." % init)
setup(
name="midtools",
version=version(),
packages=["midtools"],
url="https://github.com/acorg/midtools",
download_url="https://github.com/acorg/midtools",
author="Terry Jones",
author_email="tcj25@cam.ac.uk",
keywords=["genetic sequences"],
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
],
description=(
"Command line scripts and Python classes for detecting "
"multiple infections from NGS reads."
),
long_description="See https://github.com/acorg/midtools for details.",
license="MIT",
scripts=[
"bin/base-frequencies.py",
"bin/connected-components.py",
"bin/consistency-basic.py",
"bin/consistency-heatmap.py",
"bin/coverage-and-significant-locations.py",
"bin/create-mid-experiment-data.py",
"bin/create-reads.py",
"bin/multiple-significant-base-frequencies.py",
"bin/mutate-reads.py",
"bin/random-nt-sequence.py",
"bin/significant-base-frequencies.py",
"bin/simulation-significant-base-frequencies.sh",
],
install_requires=[
"dark-matter>=4.0.6",
"plotly>=2.7.0",
"flake8>=3.5.0",
],
)