-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
executable file
·54 lines (47 loc) · 1.68 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
#!/usr/bin/env python3
# Copyright (C) 2015-2018 Camille Scott
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the BSD license. See the LICENSE file for details.
import sys, platform
# Automatically download setuptools if not available
try:
from setuptools import *
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
finally:
from setuptools import *
from glob import glob
if sys.version_info < (3, 5):
print >> sys.stderr, "ERROR: dammit! requires python 3.5 or greater"
sys.exit()
version = open('dammit/VERSION').read().strip()
def main():
setup( name = 'dammit',
version = version,
description = 'dammit!',
url = 'https://github.com/camillescott/dammit',
author = 'Camille Scott',
author_email = '[email protected]',
license = 'BSD',
test_suite = 'pytest-runner',
tests_require = ['pytest',
'codecov'],
packages = find_packages(),
scripts = glob('bin/*'),
install_requires = ['setuptools>=0.6.35',
'pandas>=0.18.1',
'khmer>=2.0',
'doit>=0.29.0',
'ficus>=0.1',
'matplotlib>=1.0',
'numexpr>=2.3.1',
'shmlast>=1.2',
'filelock',
'sh'],
include_package_data = True,
zip_safe = False, )
if __name__ == "__main__":
main()