forked from FlorianCHA/Gsub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·91 lines (84 loc) · 2.99 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·91 lines (84 loc) · 2.99 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from pathlib import Path
from setuptools import setup, find_packages
# add for remove error with pip install -e . with pyproject.toml
import site
import sys
site.ENABLE_USER_SITE = "--user" in sys.argv[1:]
NAME = 'Gsub'
URL = 'https://github.com/FlorianCHA/Gsub'
CURRENT_PATH = Path(__file__).resolve().parent
VERSION = '2.0.0'
__doc__ = """Gsub is a Graphical user interface that help for GenBank submission.
For now, this tools take some input file :
* fasta files which contains all contigs to submit at GenBank
* template.sbt, a template which create at this link : https://submit.ncbi.nlm.nih.gov/genbank/template/submission/"""
def main():
setup(
# Project information
name=NAME,
version=VERSION,
url=URL,
project_urls={
'Bug Tracker': f'{URL}/issues',
'Documentation': URL,
'Source Code': URL
},
download_url=f'{URL}',
author='''Florian Charriat (CIRAD)''',
author_email='florian.charriat@cirad.fr',
description=__doc__.replace("\n",""),
license='GPLv3',
# Package information
packages= ['Gsub'],
package_data={'Gsub': ['*','image/*','tools/*','tools/tbl2asn.windows/*']},
include_package_data=True,
setup_requires=['setuptools_scm'],
python_requires='>=3.6',
install_requires=[
'orffinder',
'pathlib',
'Bio',
'ipython',
'biopython',
'colored',
'gooey==1.0.8.1',
'argparse',
'pyinstaller',
'pyhmmer',
],
# Pypi information
platforms=['unix', 'linux'],
keywords=[
'GenBank submission',
'python',
'GUI'
],
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'License :: CeCILL-C Free Software License Agreement (CECILL-C)',
'License :: Free for non-commercial use',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Software Development :: Assemblers'
],
options={
'bdist_wheel': {'universal': True}
},
entry_points={
f'{NAME}': [f'{NAME} = __init__'],
'console_scripts': [f'{NAME} = {NAME}.submission_GenBank_UI:IU_parser']},
)
if __name__ == '__main__':
main()