-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
39 lines (33 loc) · 1.02 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
import io
from os.path import dirname, join
from setuptools import setup
long_description = open('README.rst').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='hundo',
version=get_version("hundo/__init__.py"),
url='https://github.com/pnnl/hundo',
license='MIT',
author='Joe Brown',
author_email='[email protected]',
description='Amplicon processing protocol',
long_description=long_description,
packages=['hundo'],
package_data={'': ['hundo/Snakefile',
]},
include_package_data=True,
install_requires=[],
entry_points={
'console_scripts': [
'hundo = hundo.hundo:cli'
]
},
)