forked from metagenome-atlas/atlas
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
43 lines (39 loc) · 1.12 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
import io
from os.path import dirname, join
from setuptools import setup
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='atlas',
version=get_version("atlas/__init__.py"),
url='https://github.com/pnnl/atlas',
license='MIT',
author='Joe Brown',
author_email='joe.brown@pnnl.gov',
description='',
long_description='',
packages=['atlas'],
package_data={'': ['atlas/Snakefile',
'atlas/rules/assemble.snakefile',
'atlas/rules/coassemble.snakefile',
'atlas/rules/reports/sample.snakefile',
]},
include_package_data=True,
install_requires=[
'click',
'pandas',
'pyyaml',
],
entry_points={
'console_scripts': [
'atlas = atlas.atlas:cli'
]
},
)