-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
82 lines (73 loc) · 2.92 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Setuptools control."""
from setuptools import setup
# from .version import __version__
with open("README.rst", "rb") as f:
long_descr = f.read().decode("utf-8")
# importing the version variable:
version = {}
with open("ore/version.py") as fp:
exec(fp.read(), version)
setup(name='ore',
packages=['ore'],
version=version['__version__'],
description='Associate outliers with rare variation',
long_description=long_descr,
entry_points={
"console_scripts": ['ore=ore.ore:main']
},
url='http://github.com/frichter/ore',
author='Felix Richter',
author_email='felix.richter@icahn.mssm.edu',
install_requires=[
# 'argparse', 'logging', 'sys',
# 'os', 'functools', 'multiprocessing', 'itertools',
# 're', 'subprocess', 'glob', 'copy', 'gzip',
'pandas', 'pybedtools',
'scipy', 'matplotlib', 'numpy',
'statsmodels',
'pysam'
],
python_requires='>=3',
# how to specify:
# https://packaging.python.org/specifications/
# core-metadata/#requires-external-multiple-use
package_dir={'ore': 'ore'},
package_data={'ore': ['data/gene_strand_hg*.txt.gz',
'data/hg19_genome_masks/hg19_*',
'annovar/annotate_variation.pl',
# 'annovar/humandb/*',
'annovar/table_annovar.pl']},
# download_url = 'https://github.com/frichter/ore/archive/0.1.tar.gz',
keywords=['rnaseq', 'wgs', 'outliers', 'rare_variants', 'rna', 'dna'],
classifiers=[
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
'Development Status :: 3 - Alpha',
# 'Development Status :: 4 - Beta',
# 'Development Status :: 5 - Production/Stable',
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
# 'Environment :: Console',
# 'Operating System :: MacOS :: MacOS X',
# 'Operating System :: Microsoft :: Windows',
# 'Operating System :: POSIX',
# possibly specify other OS
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Medical Science Apps.'],
# zip_safe=False,
include_package_data=True,
license='MIT')
"""
Sources:
- https://packaging.python.org/tutorials/distributing-packages/
- http://python-packaging.readthedocs.io/en/latest/minimal.html
- http://peterdowns.com/posts/first-time-with-pypi.html
- https://gehrcke.de/2014/02/distributing-a-python-command-line-application/
"""