forked from genialis/iCount
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·99 lines (84 loc) · 2.52 KB
/
setup.py
File metadata and controls
executable file
·99 lines (84 loc) · 2.52 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#!/usr/bin/env python
from os import path
# Use codecs' open for a consistent encoding
from codecs import open
from setuptools import setup, find_packages
# base_dir = path.abspath(path.dirname(__file__))
base_dir = path.dirname(path.realpath(__file__))
# Get the long description from the README file
# with open(path.join(base_dir, 'README.md'), encoding='utf-8') as f:
# long_description = f.read()
with open(path.join(base_dir, 'README.md'), encoding='utf-8') as f:
LONG_DESC = f.read()
# Get package metadata from 'iCount/__about__.py' file
about = {}
with open(path.join(base_dir, 'iCount', '__about__.py'), encoding='utf-8') as f:
exec(f.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
long_description=LONG_DESC,
long_description_content_type='text/markdown',
url=about['__url__'],
author=about['__author__'],
author_email=about['__email__'],
license=about['__license__'],
# exclude tests from built/installed package
packages=find_packages(exclude=['*.tests', '*.tests.*', 'docs/presentations',
'docs/presentations/*']),
package_data={
'iCount': [
'examples/*.sh',
'genomes/data/*.txt',
]
},
install_requires=[
'numpy',
'pandas',
'cutadapt>=1.10',
'pysam',
'pybedtools',
'numpydoc',
'sphinx>=1.4',
'matplotlib',
],
extras_require={
'docs': [
'docutils',
'releases',
'sphinx_rtd_theme',
],
'package': [
'pypandoc'
'twine',
'wheel',
],
'test': [
'check-manifest',
'pylint>=1.6.4',
'pycodestyle>=2.1.0',
'pydocstyle>=1.0.0',
'pytest-cov',
'readme_renderer',
'coverage>=4.2',
],
},
entry_points={
'console_scripts': [
'iCount-Mini = iCount.cli:main',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='iCLIP protein-RNA',
)