forked from trevismd/statannotations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (32 loc) · 1.17 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
from distutils.core import setup
from setuptools import find_packages
import re
with open("readme.md", "r") as f:
long_description = f.read()
VERSIONFILE = "statannotations/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", verstrline, re.M)
if match:
version = match.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(
name="statannotations",
version=version,
author="Florian Charlier",
author_email="[email protected]",
description= ("add statistical annotations on an existing boxplot/barplot "
"generated by seaborn, "
"based on statannot 0.2.3 by Marc Weber, copyright 2019"),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/trevismd/statannotations",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
# install_requires=open("requirements.txt").readlines(),
python_requires='>=3.5',
)