-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·48 lines (44 loc) · 1.3 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
import os
import glob
from setuptools import setup, find_packages
def read(fname):
"""
Reads a file.
Args:
fname (str): The name of the file to read.
Returns:
str: The contents of the file.
Examples:
>>> read('README.md')
'This is the contents of the README.md file.'
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
version = 'x.y.z'
if os.path.exists('VERSION'):
version = open('VERSION').read().strip()
setup(
name='gambitdb',
version=version,
description='gambitdb: a database of bacterial classification',
long_description=read('README.md'),
packages = find_packages(),
author='Andrew J. Page',
author_email='[email protected]',
url='https://github.com/gambit-suite/gambitdb',
scripts=glob.glob('scripts/*'),
test_suite='nose.collector',
tests_require=['nose >= 1.3'],
install_requires=[
'biopython >= 1.68',
'pandas',
'numpy',
],
license='GPLv3',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Programming Language :: Python :: 3 :: Only',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'
],
)