-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
67 lines (55 loc) · 1.82 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
67
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Standalone command line tool to visualize coverage from a BAM file
"""
from setuptools import setup, find_packages
import codecs
CLASSIFIERS = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Visualization",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
name = "tinycov"
MAJOR = 0
MINOR = 4
MAINTENANCE = 0
VERSION = "{}.{}.{}".format(MAJOR, MINOR, MAINTENANCE)
LICENSE = "MIT"
URL = "https://github.com/cmdoret/tinycov"
DESCRIPTION = __doc__.strip("\n")
with codecs.open("README.md", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
with open("requirements.txt", "r") as f:
REQUIREMENTS = f.read().splitlines()
with open("tinycov/version.py", "w") as f:
f.write("__version__ = '{}'\n".format(VERSION))
setup(
name=name,
author="cmdoret",
author_email="cyril.matthey-doret@pasteur.fr",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
version=VERSION,
license=LICENSE,
classifiers=CLASSIFIERS,
url=URL,
packages=find_packages(),
python_requires=">=3.6",
include_package_data=True,
install_requires=REQUIREMENTS,
long_description_content_type="text/markdown",
entry_points={"console_scripts": ["tinycov=tinycov.__main__:cli"]},
)