-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (64 loc) · 2.81 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
import setuptools
import re
from distutils.core import setup
with open('README.md') as fh:
long_description = fh.read()
with open('sarand/__init__.py') as fh:
info = fh.read()
version = re.search('^__version__\s*=\s*"(.*)"',
info, re.M).group(1)
setup(
name='sarand',
packages=['sarand'],
version=version,
license="GPLv3",
description="Tool to extract the neighborhood of the target Antimicrobial Resistance (AMR) genes from the assembly graph.",
author='Somayeh Kafaie',
author_email='[email protected]',
url="https://github.com/somayeh-aut/AMR_context",
#download_url=f"https://github.com/pha4ge/archive/v{version}.tar.gz",
keywords=["Metagenomic Assembly graph", "Antimicrobial resistance", "Context extraction"],
python_requires='>=3.6.10',
long_description=long_description,
long_description_content_type="text/markdown",
#what about the ones in the requirement file?????? should I include them here?????
install_requires=['biopython','numpy','dna_features_viewer',
'matplotlib','gfapy', 'pandas', 'pyyaml'],
#not sure how to set this correctly???????????????????
# package_data={
# 'sarand': ['data/CARD_AMR_seq.fasta'],
# },
# data_files=[('data', ['data/CARD_AMR_seq.fasta']), ('test', ['test/metagenome_data/Ecoli_NC_010488.fna',\
# 'test/metagenome_data/klebsiella_NC_009650.fna', 'test/metagenome_data/staphylo_NC_002758.fna'])],
#How to include test files???? similar to the above or in manifest.in
include_package_data=True,
package_data={'': ['data/*.fasta']},
entry_points={
'console_scripts': [
'sarand = sarand.sarand_main:main'
#What happens to loading parameters from param.py????????????????
# ,'full_pipeline = sarand.full_pipeline:main',
# 'find_ref_amrs = sarand.find_amrs_in_sample:main',
# 'find_contig_amrs = sarand.amr_neighborhood_in_contigs:main'
],
},
classifiers=[
#"Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Intended Audience :: Science/Research",
"Intended Audience :: Healthcare Industry",
"Topic :: Scientific/Engineering :: Bio-Informatics"
],
zip_safe=True,
)