-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
72 lines (63 loc) · 2.27 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""Setup file and install scripts.
Copyright (c) 2020 Shujia Huang
Date: May 23, 2020
"""
import os
from argparse import Namespace
DESCRIPTION = ("qmplot: Create high-quality manhattan and QQ plots for PLINK association "
"output (or any dataframe with chromosome, position, and p-value).")
meta = Namespace(
__DISTNAME__="qmplot",
__AUTHOR__="Shujia Huang",
__AUTHOR_EMAIL__="huangshujia9@gmail.com",
__URL__="https://github.com/ShujiaHuang/qmplot",
__LICENSE__="BSD (3-clause)",
__DOWNLOAD_URL__="https://github.com/ShujiaHuang/qmplot",
__VERSION__="0.3.3",
)
try:
from setuptools import setup, find_packages
_has_setuptools = True
except ImportError:
from distutils.core import setup, find_packages
INSTALL_REQUIRES = [
"numpy",
"scipy",
"pandas",
"matplotlib",
]
if __name__ == "__main__":
THIS_PATH = os.path.abspath(os.path.dirname(__file__))
long_description = os.path.join(THIS_PATH, "README.md")
setup(name=meta.__DISTNAME__,
author=meta.__AUTHOR__,
author_email=meta.__AUTHOR_EMAIL__,
maintainer=meta.__AUTHOR__,
maintainer_email=meta.__AUTHOR_EMAIL__,
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=(open(long_description).read()),
license=meta.__LICENSE__,
url=meta.__URL__,
download_url=meta.__DOWNLOAD_URL__,
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
version=meta.__VERSION__,
include_package_data=True,
entry_points={
"console_scripts": [
'qmplot = qmplot.main:main'
]
},
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: BSD License',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS'],
)