-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (27 loc) · 834 Bytes
/
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
import subprocess
from setuptools import setup, find_packages
try:
subprocess.check_call(
'git describe --tags --long > bioy_pkg/data/version',
shell=True)
except subprocess.CalledProcessError:
version = ''
else:
with open('bioy_pkg/data/version') as f:
version = f.read().strip().split('-')[0]
setup(author='Noah Hoffman',
author_email='[email protected]',
description='A collection of bioinformatics tools',
name='bioy',
packages=find_packages(),
scripts=['bioy'],
version=version,
url='https://github.com/nhoffman/bioy',
package_data={'bioy_pkg': ['data/*']},
requires=['python (>= 2.7.5)'],
install_requires=[
'numpy>=1.8.1',
'pandas>=0.17.1',
'biopython>=1.6.3',
'matplotlib'
])