-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (47 loc) · 1.51 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
# File: variantcentrifuge/setup.py
# Location: variantcentrifuge/variantcentrifuge/setup.py
"""
Setup script for variantcentrifuge.
This file configures how the package is built, installed, and what
dependencies are required.
"""
import os
from setuptools import setup, find_packages
# Load version from version.py without importing the module
version = {}
with open(os.path.join('variantcentrifuge', 'version.py')) as f:
exec(f.read(), version)
# Read the README for the long description
this_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_dir, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="variantcentrifuge",
version=version['__version__'],
description="A tool to filter, extract, and analyze variants from VCF files.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Bernt Popp",
author_email="[email protected]",
url="https://github.com/scholl-lab/variantcentrifuge",
packages=find_packages(),
python_requires=">=3.7",
install_requires=[
"pandas",
"jinja2",
],
entry_points={
"console_scripts": [
"variantcentrifuge=variantcentrifuge.cli:main"
]
},
include_package_data=True,
package_data={
"variantcentrifuge": ["config.json"]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
],
)