-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
executable file
·44 lines (38 loc) · 1.34 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
from setuptools import setup
import glob
import os
from setuptools import dist
dist.Distribution().fetch_build_eggs(['Cython>=0.24.1', 'numpy>=1.11'])
with open('requirements.txt') as f:
required = f.read().splitlines()
from vcfkit import __version__
def gen_data_files(*dirs):
results = []
for src_dir in dirs:
for root,dirs,files in os.walk(src_dir):
results.append((root, [root + "/" + f for f in files]))
return results
setup(name='VCF-kit',
version=__version__,
packages=['vcfkit','vcfkit.utils'],
author='Daniel E. Cook',
author_email='[email protected]',
license='MIT',
entry_points="""
[console_scripts]
vk = vcfkit.vk:main
""",
install_requires=required,
zip_safe=False,
package_data={
'': ['static/*', 'static/**/*'],
},
include_package_data=True,
keywords=["VCF", "variant", "caller", "format", "snps", "genetic", "variation", "genetics"],
data_files=gen_data_files("static"),
setup_requires=['pytest-runner'],
tests_require=['pytest', 'coveralls'],
classifiers=["Development Status :: 4 - Beta","Operating System :: MacOS",
"Operating System :: Unix",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: MIT License"])