-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
54 lines (48 loc) · 1.51 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
import io
from os.path import dirname, join
from setuptools import setup, find_packages
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def get_version(relpath):
"""Read version info from a file without importing it"""
for line in io.open(join(dirname(__file__), relpath), encoding="cp437"):
if "__version__" in line:
if '"' in line:
# __version__ = "0.9"
return line.split('"')[1]
elif "'" in line:
return line.split("'")[1]
setup(
name='aviary-genome',
version=get_version("aviary/__init__.py"),
url='https://github.com/rhysnewell/aviary',
license='GPL-3.0',
author='Rhys Newell',
author_email='[email protected]',
description='aviary - metagenomics pipeline using long and short reads',
long_description=long_description,
long_description_content_type='text/markdown',
zip_safe=False,
packages=find_packages(),
package_data={
'': ['aviary/*'],
},
data_files=[(".", ["README.md", "LICENSE"])],
include_package_data=True,
install_requires= [
"snakemake",
"numpy",
"ruamel.yaml>=0.15.99",
"pandas",
"biopython",
],
entry_points={
'console_scripts': [
'aviary = aviary.aviary:main'
]
},
classifiers=["Topic :: Scientific/Engineering :: Bio-Informatics"],
)