-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (46 loc) · 1.96 KB
/
Copy pathsetup.py
File metadata and controls
50 lines (46 loc) · 1.96 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
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="NFixDB",
version="2.0.0",
author="Jose L. Figueroa III, Richard A. White III",
author_email="jlfiguer@charlotte.edu",
description="A comprehensive integrated database for robust 'omics analysis of diazotrophs",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/raw-lab/nfixdb",
scripts=['bin/nfixdb-workflow.py',], # scripts to copy to 'bin' path
packages=['nfixdb'], # list of packages, installed to site-packages folder
package_dir=dict(nfixdb='lib'), # dict with 'package'='relative dir'
package_data=dict(nfixdb=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.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
],
python_requires='>=3.8',
install_requires=[
'setuptools',
'configargparse',
'pandas',
'pyhmmer',
'biopython',
],
)