-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
62 lines (58 loc) · 2.43 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
import os
import setuptools
# recursively load package files
def package_files(directory):
paths = []
for (path, _, filenames) in os.walk(directory):
for filename in filenames:
if not filename.endswith('.py'):
paths.append(os.path.join('..', path, filename))
return paths
# read long description
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="MetaCerberus",
version="1.4.0",
author="Jose L. Figueroa III, Richard A. White III",
author_email="[email protected]",
description="Versatile Functional Ontology Assignments for Metagenomes via Hidden Markov Model (HMM) searching with environmental focus of shotgun meta'omics data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/raw-lab/metacerberus",
scripts=['bin/metacerberus.py', # scripts to copy to 'bin' path
'bin/ray-slurm-metacerberus.sh',
'bin/pathview-metacerberus.R'],
packages=['meta_cerberus'], # list of packages, installed to site-packages folder
package_dir=dict(meta_cerberus='lib'), # dict with 'package'='relative dir'
package_data=dict(meta_cerberus=package_files('lib/')), # add non-python data to package, relative paths
license="BSD License", # metadata
platforms=['Unix'], # metadata
classifiers=[ # This is the new updated way for metadata (PyPi??), but old way seems to still be used in some of the output
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
],
python_requires='>=3.8',
install_requires=[
'setuptools',
'pandas',
'pyhmmer',
'hydrampp',
'pyrodigal',
'pyrodigal-gv',
'configargparse',
'metaomestats',
'kaleido',
'scikit-learn',
'plotly',
'psutil',
'dominate',
],
)