forked from MRCIEU/gwas2vcf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (40 loc) · 1.29 KB
/
setup.py
File metadata and controls
46 lines (40 loc) · 1.29 KB
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
"""
Setup file for gwas2vcf library. Licensed under the MIT.
"""
import sys
from Cython.Distutils import build_ext
from setuptools import setup
if sys.version_info < (3, 7):
sys.exit(
"Sorry, Python 3.7 or newer is required to install and run gwas2vcf")
install_requires = [
"pysam==0.15.4",
"biopython==1.72",
"marshmallow==2.18.1",
"numpy==1.22.0",
"vgraph @ git+https://github.com/selfdecode/vgraph.git@v1.4.0#egg=vgraph",
]
setup_requires = ["setuptools_scm==1.15.0", "setuptools_scm_git_archive==1.0"]
tests_require = ["pytest==5.3.5"]
classifiers = """
Development Status :: 2 - Alpha
Programming Language :: Python
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Bioinformatics
"""
if __name__ == "__main__":
setup(
name="gwas2vcf",
version="1.3.2",
description="Convert GWAS summary statistics to VCF",
url="https://github.com/selfdecode/gwas2vcf",
license="MIT",
classifiers=classifiers.split("\n"),
use_scm_version=True,
zip_safe=False,
tests_require=tests_require,
py_modules=['main', 'param', 'gwas', 'vcf'],
install_requires=install_requires,
cmdclass={"build_ext": build_ext},
entry_points={"console_scripts": ["gwas2vcf=main:main"]},
)