-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathsetup.py
33 lines (29 loc) · 1.13 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
from setuptools import setup
from os import path
description = """Python package for dealing with whole slide images (.svs) for machine learning, including
intuitive, painless patch sampling using OpenSlide, automatic labeling from ImageScope XML
annotation files, and functions for saving these patches and their meta data into lightning
memory-mapped databases (LMDB) for quick reads.
"""
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(name='py_wsi',
version='2.1',
description=description,
long_description=long_description,
url='https://github.com/ysbecca/py-wsi',
author='Rebecca Stone',
author_email='ysbecca@gmail.com',
license='GNU General Public License v3.0',
packages=['py_wsi'],
install_requires=[
'shapely',
'numpy',
'openslide-python',
'lmdb',
'Pillow',
'h5py',
],
keywords='whole slide images svs openslide lmdb machine learning',
zip_safe=False)