-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
61 lines (54 loc) · 1.65 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
# -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
import versioneer
def get_long_description():
with io.open('./README.md', encoding='utf-8') as f:
readme = f.read()
return readme
tests_require = [
'pytest',
'Django',
'django-redis',
'memory-profiler',
'mock',
'psutil',
'python-memcached',
'pymemcache',
'redis',
'pylibmc',
'tox-pyenv',
]
setup(
name='easy-cache',
packages=find_packages(exclude=('tests', )),
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Useful cache decorators for methods and properties',
author='Oleg Churkin',
author_email='bahusoff@gmail.com',
url='https://github.com/Bahus/easy_cache',
keywords=['cache', 'decorator', 'invalidation',
'memcached', 'redis', 'django'],
platforms='Platform Independent',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License'
],
long_description=get_long_description(),
long_description_content_type='text/markdown',
tests_require=tests_require,
extras_require={
'tests': tests_require,
},
)