-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
executable file
·74 lines (65 loc) · 2.7 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
#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
setup(
use_scm_version=True,
setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'],
install_requires=['setuptools_scm'],
tests_require=['pytest', 'flake8', 'pep257'],
cmdclass={'test': PyTest},
name='VirMet',
description='Viral metagenomics in clinical applications',
url='http://github.com/medvir/VirMet',
author='Osvaldo Zagordi',
author_email='[email protected]',
packages=find_packages('src'), # include all packages under src
package_dir={'': 'src'}, # tell setuptools packages are under src
# package_data={'virmet': ['db/*', 'db/template.tex']},
# scripts=['bin/virmet'],
data_files=[('Rscripts', ['Rscripts/covplot.R'])],
entry_points={
'console_scripts': ['virmet = virmet.cli:main']
},
license='MIT',
long_description='''
Set of tools for the analysis of sequencing data to identify and characterize
the viral fraction in metagenomic samples, especially in the clinical setting.
''',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
# Pick your license as you wish (should match "license" above)
'License :: MIT',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
# 'Programming Language :: Python :: 2',
# 'Programming Language :: Python :: 2.6',
# 'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3',
# 'Programming Language :: Python :: 3.2',
# 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6']
)