-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
59 lines (52 loc) · 1.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
import os
from setuptools import setup
import seqtyping
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
VERSION = seqtyping.__version__
with open('README.md') as fh:
README = fh.read()
setup(
name='seq_typing',
version='{}'.format(VERSION),
packages=['seqtyping',
'seqtyping.modules'],
package_dir={'seqtyping': 'seqtyping'},
package_data={'seqtyping': package_files('.git') +
['reference_sequences/*/*']},
include_package_data=True,
data_files=[('', ['LICENSE'])],
install_requires=[
'ReMatCh', 'biopython'
],
description='Determines which reference sequence is more likely to be present in a given sample',
long_description=README,
long_description_content_type='text/markdown',
keywords=['reference mapping', 'sequence Blast search', 'typing'],
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Environment :: Console',
'Operating System :: Unix',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Medical Science Apps.'
],
url='https://github.com/B-UMMI/seq_typing',
author='Miguel P. Machado',
author_email='mpmachado@medicina.ulisboa.pt',
license='GPL3',
# To use entry_points with .py the first folder cannot have the same name of the script
entry_points={
'console_scripts': [
'seq_typing.py = seqtyping.seq_typing:main',
'ecoli_stx_subtyping.py = seqtyping.ecoli_stx_subtyping:main',
'get_stx_db.py = seqtyping.modules.get_stx_db:main'
]
},
python_requires='>=3.4'
)