-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (65 loc) · 2.19 KB
/
setup.py
File metadata and controls
70 lines (65 loc) · 2.19 KB
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
68
69
70
# coding: utf-8
from setuptools import setup, find_packages
from setuptools.extension import Extension
from distutils.extension import Extension
from codecs import open
from os import path
import glob
import re
import sys
from gffquant import __version__ as gffquant_version
here = path.abspath(path.dirname("__file__"))
with open(path.join(here, "DESCRIPTION.md"), encoding="utf-8") as description:
description = long_description = description.read()
name="gffquant"
version = gffquant_version
if sys.version_info.major != 3:
raise EnvironmentError("""{toolname} is a python module that requires python3, and is not compatible with python2.""".format(toolname=name))
setup(
name=name,
version=version,
description=description,
long_description=long_description,
url="https://github.com/cschu/gff_quantifier",
author="Christian Schudoma",
author_email="christian.schudoma@embl.de",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Scientific Engineering :: Bio/Informatics",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
zip_safe=False,
keywords="large reference data genomic feature quantification",
packages=find_packages(exclude=["test"]),
#scripts=["util/gff_indexer.py"],
install_requires=[
"intervaltree",
"numpy",
"pandas",
"pysam",
"sqlalchemy",
],
entry_points={
"console_scripts": [
"gffquant=gffquant.__main__:main",
# "gffindex=gffquant.gff_indexer:main",
"collate_counts=gffquant.bin.collate_counts:main",
# "split_table=gffquant.bin.split_table:main",
"build_gene_database=gffquant.bin.build_gene_database:main",
"build_domain_database=gffquant.bin.build_domain_database:main",
"build_bed_database=gffquant.bin.build_bed_database:main",
"build_custom_database=gffquant.bin.build_custom_database:main",
"collate_studies=gffquant.bin.collate_studies:main",
# "db_collate=gffquant.bin.db_collate:main",
],
},
package_data={},
include_package_data=True,
data_files=[],
)