-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
66 lines (58 loc) · 1.79 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
#! /usr/bin/env python
#
# Copyright (C) Hideto Mori
DESCRIPTION = "patchwork for matplotlib"
DISTNAME = 'patchworklib'
MAINTAINER = 'Hideto Mori'
MAINTAINER_EMAIL = '[email protected]'
URL = 'https://github.com/ponnhide/patchworklib'
LICENSE = 'GNU General Public License v3.0'
DOWNLOAD_URL = 'https://github.com/ponnhide/patchworklib'
VERSION = '0.6.5'
PYTHON_REQUIRES = ">=3.7"
INSTALL_REQUIRES = [
'matplotlib>=3.4',
'pandas>=0.24',
'numpy>=1.16,<1.27',
'dill',
'seaborn',
'plotnine<=0.13.6',
]
PACKAGES = [
'patchworklib'
]
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 :: GNU General Public License v3 (GPLv3)',
]
with open('README.md', 'r', encoding='utf-8') as fp:
readme = fp.read()
LONG_DESCRIPTION = readme
LONG_DESCRIPTION_CONTENT_TYPE = 'text/markdown'
if __name__ == "__main__":
from setuptools import setup
import sys
if sys.version_info[:2] < (3, 7):
raise RuntimeError("patchworklib requires python >= 3.7.")
setup(
name=DISTNAME,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
license=LICENSE,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
python_requires=PYTHON_REQUIRES,
install_requires=INSTALL_REQUIRES,
packages=PACKAGES,
classifiers=CLASSIFIERS
)