-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
45 lines (41 loc) · 1.58 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
from setuptools import setup
def prepare_description():
description = open('README.rst', 'rb').read().decode('utf-8')
# class references work well in generated docs (render links to API docs)
# but don't work at PyPi - therefore are removed
description = description.replace(":class:", "")
return description
setup(
name='py-memoize',
version='3.1.1',
author='Michal Zmuda',
author_email='zmu.michal@gmail.com',
url='https://github.com/DreamLab/memoize',
maintainer='DreamLab',
packages=['memoize'],
test_suite='tests',
license='Apache License 2.0',
description=('Caching library for asynchronous Python applications (both based on asyncio and Tornado) '
'that handles dogpiling properly and provides a configurable & extensible API.'),
long_description=prepare_description(),
long_description_content_type="text/x-rst",
platforms=['Any'],
keywords='python cache tornado asyncio',
install_requires=None,
extras_require={
'ujson': ['ujson>=1.35,<2'],
},
classifiers=[
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Framework :: AsyncIO',
'Intended Audience :: Developers'
]
)