-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
61 lines (50 loc) · 1.68 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
"""Setup script"""
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
import pytest
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
install_requires = [
'MOODS-python'
]
tests_require = [
'pytest >= 7.2.0, < 8',
'coverage',
'pylint == 2.15.5',
'mypy == 0.982',
]
class PyTest(TestCommand):
"""Run tests"""
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name="MiniMotif",
version="0.0.1",
author="Hannah Augustijn",
author_email="hannah.augustijn@wur.nl",
description="MiniMotif: a tool for transcription factor binding site detection in bacteria",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/HAugustijn/MiniMotif",
license='GNU Affero General Public License v3.0',
classifiers=[
'Programming Language :: Python :: 3',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: GNU Affero General Public License v3.0',
'Operating System :: Linux or MacOS',
],
python_requires='>=3.7',
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={'minimotif': ['data/*.joblib', 'data/*.sh'],},
install_requires=install_requires,
cmdclass={'test': PyTest},
tests_require=tests_require,
extras_require={'testing': tests_require,},
)