|
a |
|
b/setup.py |
|
|
1 |
#!/usr/bin/env python |
|
|
2 |
|
|
|
3 |
# ----------------------------------------------------------------------------- |
|
|
4 |
# Copyright (c) 2013, The Qiita Development Team. |
|
|
5 |
# |
|
|
6 |
# Distributed under the terms of the BSD 3-clause License. |
|
|
7 |
# |
|
|
8 |
# The full license is in the file LICENSE, distributed with this software. |
|
|
9 |
# ----------------------------------------------------------------------------- |
|
|
10 |
from setuptools import setup |
|
|
11 |
from glob import glob |
|
|
12 |
|
|
|
13 |
__version__ = "2025.04" |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
classes = """ |
|
|
17 |
Development Status :: 5 - Production/Stable |
|
|
18 |
License :: OSI Approved :: BSD License |
|
|
19 |
Topic :: Scientific/Engineering :: Bio-Informatics |
|
|
20 |
Topic :: Software Development :: Libraries :: Application Frameworks |
|
|
21 |
Topic :: Software Development :: Libraries :: Python Modules |
|
|
22 |
Programming Language :: Python |
|
|
23 |
Programming Language :: Python :: 3.6 |
|
|
24 |
Programming Language :: Python :: Implementation :: CPython |
|
|
25 |
Operating System :: POSIX :: Linux |
|
|
26 |
Operating System :: MacOS :: MacOS X |
|
|
27 |
""" |
|
|
28 |
|
|
|
29 |
with open('README.rst') as f: |
|
|
30 |
long_description = f.read() |
|
|
31 |
|
|
|
32 |
classifiers = [s.strip() for s in classes.split('\n') if s] |
|
|
33 |
|
|
|
34 |
setup(name='qiita-spots', |
|
|
35 |
version=__version__, |
|
|
36 |
long_description=long_description, |
|
|
37 |
license="BSD", |
|
|
38 |
description='Qiita: Spot Patterns', |
|
|
39 |
author="Qiita development team", |
|
|
40 |
author_email="qiita.help@gmail.com", |
|
|
41 |
url='https://github.com/biocore/qiita', |
|
|
42 |
test_suite='nose.collector', |
|
|
43 |
packages=['qiita_core', |
|
|
44 |
'qiita_db', |
|
|
45 |
'qiita_db/handlers', |
|
|
46 |
'qiita_db/metadata_template', |
|
|
47 |
'qiita_pet', |
|
|
48 |
'qiita_pet/handlers', |
|
|
49 |
'qiita_pet/handlers/study_handlers', |
|
|
50 |
'qiita_pet/handlers/api_proxy', |
|
|
51 |
'qiita_ware' |
|
|
52 |
], |
|
|
53 |
include_package_data=True, |
|
|
54 |
package_data={ |
|
|
55 |
'qiita_core': [ |
|
|
56 |
'support_files/config_test.cfg' |
|
|
57 |
'support_files/ci_server.crt', |
|
|
58 |
'support_files/ci_server.csr', |
|
|
59 |
'support_files/ci_server.key' |
|
|
60 |
], |
|
|
61 |
'qiita_db': [ |
|
|
62 |
'support_files/*.sql', |
|
|
63 |
'support_files/patches/*.sql', |
|
|
64 |
'support_files/patches/python_patches/*.py', |
|
|
65 |
'support_files/test_data/preprocessed_data/*', |
|
|
66 |
'support_files/test_data/processed_data/*', |
|
|
67 |
'support_files/test_data/raw_data/*', |
|
|
68 |
'support_files/test_data/analysis/*', |
|
|
69 |
'support_files/test_data/reference/*', |
|
|
70 |
'support_files/test_data/job/*.txt', |
|
|
71 |
'support_files/test_data/job/2_test_folder/*', |
|
|
72 |
'support_files/test_data/uploads/1/a_folder/*.txt', |
|
|
73 |
'support_files/test_data/uploads/1/.hidden_file.txt', |
|
|
74 |
'support_files/test_data/uploads/1/uploaded_file.txt', |
|
|
75 |
'support_files/test_data/templates/*', |
|
|
76 |
'support_files/work_data/*'], |
|
|
77 |
'qiita_pet': [ |
|
|
78 |
'static/css/*.css', 'static/img/*.png', |
|
|
79 |
'static/img/*.gif', 'static/img/*.ico', |
|
|
80 |
'static/js/*.js', 'static/vendor/css/*.css', |
|
|
81 |
'static/vendor/css/images/*.png', |
|
|
82 |
'static/vendor/css/*.png', |
|
|
83 |
'static/vendor/fonts/glyphicons*.*', |
|
|
84 |
'static/vendor/images/*.png', |
|
|
85 |
'static/vendor/js/*.js', |
|
|
86 |
'results/admin/jobname/*.html', |
|
|
87 |
'templates/*.html', |
|
|
88 |
'support_files/config_portal.cfg', |
|
|
89 |
'support_files/doc/Makefile', |
|
|
90 |
'support_files/doc/README.md', |
|
|
91 |
'support_files/doc/source/conf.py', |
|
|
92 |
'support_files/doc/source/*.rst', |
|
|
93 |
'support_files/doc/source/tutorials/*.rst', |
|
|
94 |
'support_files/doc/source/admin/*.rst', |
|
|
95 |
'support_files/doc/source/dev/*.rst', |
|
|
96 |
'support_files/doc/source/qiita-philosophy/*.rst', |
|
|
97 |
'support_files/doc/source/admin/images/*.png', |
|
|
98 |
'support_files/doc/source/tutorials/images/*.png', |
|
|
99 |
'support_files/doc/source/qiita-philosophy/images/*.png', |
|
|
100 |
'support_files/doc/source/_static/*.png' |
|
|
101 |
]}, |
|
|
102 |
scripts=glob('scripts/*'), |
|
|
103 |
# making sure that numpy is installed before biom |
|
|
104 |
setup_requires=['numpy', 'cython'], |
|
|
105 |
install_requires=['psycopg2', 'click', 'bcrypt', 'pandas<2.0', |
|
|
106 |
'biom-format', 'tornado<6.0', 'toredis', 'redis', |
|
|
107 |
'scp', 'pyparsing', 'h5py', 'natsort', 'nose', 'pep8', |
|
|
108 |
'networkx', 'humanize==4.11', 'wtforms<3.0.0', |
|
|
109 |
'nltk<=3.8.1', |
|
|
110 |
'openpyxl', 'sphinx-bootstrap-theme', 'Sphinx<3.0', |
|
|
111 |
'gitpython', 'redbiom', 'pyzmq', 'sphinx_rtd_theme', |
|
|
112 |
'paramiko', 'seaborn', 'matplotlib', 'scipy<=1.10.1', |
|
|
113 |
'nose', |
|
|
114 |
'flake8', 'six', 'qiita-files @ https://github.com/' |
|
|
115 |
'qiita-spots/qiita-files/archive/master.zip', 'mock', |
|
|
116 |
'python-jose', 'markdown2', 'iteration_utilities', |
|
|
117 |
'supervisor @ https://github.com/Supervisor/' |
|
|
118 |
'supervisor/archive/master.zip', 'joblib'], |
|
|
119 |
classifiers=classifiers |
|
|
120 |
) |