forked from crs4/ome_seadragon_cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (59 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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from distutils.errors import DistutilsSetupError
DESCRIPTION = 'ome_seadragon_cache: A cache mechanism for tiles and thumbnails that can be used with both' \
' ome_seadragon and ome_seadragon_gateway'
AUTHOR_INFO = [
('Luca Lianas', '[email protected]')
]
MAINTAINER_INFO = AUTHOR_INFO
AUTHOR = '', ''.join(t[0] for t in AUTHOR_INFO)
AUTHOR_EMAIL = '', ''.join('<%s>' % t[1] for t in AUTHOR_INFO)
MAINTAINER = ", ".join(t[0] for t in MAINTAINER_INFO)
MAINTAINER_EMAIL = ", ".join("<%s>" % t[1] for t in MAINTAINER_INFO)
URL = 'https://github.com/lucalianas/pyBaseX'
DOWNLOAD_URL = 'https://github.com/lucalianas/pyBaseX/releases'
try:
with open("NAME") as f:
NAME = f.read().strip()
with open("VERSION") as f:
VERSION = f.read().strip()
except IOError:
raise DistutilsSetupError("failed to read name/version info")
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
download_url=DOWNLOAD_URL,
license='MIT License',
platforms=['any'],
keywords=['ome_seadraon', 'Redis', 'cache', 'python'],
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
],
packages=[
'ome_seadragon_cache'
],
requires=[
'setuptools',
'redis',
'Pillow',
],
install_requires=[
'setuptools',
'redis',
'Pillow',
]
)