-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (45 loc) · 1.42 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
"""Setup script for package."""
import re
from setuptools import find_packages, setup
match = re.search(r'^VERSION\s*=\s*"(.*)"', open("biopsy/version.py").read(), re.M)
VERSION = match.group(1) if match else "???"
with open("README.md", "rb") as f:
LONG_DESCRIPTION = f.read().decode("utf-8")
setup(
name="biopsy",
version=VERSION,
description="Package for preprocessing ndpi and ndpa files.",
long_description=LONG_DESCRIPTION,
author="Soren Lind Kristiansen",
author_email="soren@gutsandglory.dk",
url="",
keywords="",
packages=find_packages(),
install_requires=["lxml", "openslide-python", "Pillow", "tqdm"],
extras_require={
"dev": [
"black",
"flake8",
"jupyter",
"lxml-stubs",
"mypy",
"pycodestyle",
"pydocstyle",
"pylint",
"rope",
"pytest",
],
"test": ["coverage", "pytest", "pytest-cov", "tox"],
},
setup_requires=["pytest-runner"],
tests_require=["pytest"],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
],
entry_points={"console_scripts": ["biopsy = biopsy.__main__:main"]}
)