-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (46 loc) · 1.62 KB
/
setup.py
File metadata and controls
51 lines (46 loc) · 1.62 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
# Released into the Public Domain:
# https://creativecommons.org/publicdomain/zero/1.0/legalcode
"""Cache inteins.com InBase database locally as Pandas DataFrame."""
import sys
from setuptools import find_packages, setup
# Boilerplate for pytest-runner suggested by pypi page.
NEEDS_PYTEST = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
# Also add pytest itself because it is a runtime dependency of pytest-runner.
PYTEST_RUNNER = ['pytest-runner', 'pytest'] if NEEDS_PYTEST else []
setup(
name='inbase',
version='20180212.1',
description=__doc__,
author='Pariksheet Nanda',
author_email='pariksheet.nanda@uconn.edu',
packages=find_packages(),
setup_requires=PYTEST_RUNNER,
install_requires=[
'biopython',
'pandas',
],
extras_require={
'scrapy': ['scrapy'],
},
tests_require=[
'pytest', # Test suite.
'pytest-cov', # `coverage` wrapper.
'pytest-pylint', # `pylint` wrapper.
],
package_data={
'inbase': ['data/*.json'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Topic :: Database',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
url='https://github.com/omsai/inbase',
)