forked from AmadeusITGroup/RedisCache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·52 lines (46 loc) · 1.54 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
#!/usr/bin/env python3
"""
This allows to build the package, deploy it in PyPi and tag the source in GitHub:
> pip install -r requirements-dev.txt
> rm -rf dist
> ./setup.py sdist
> twine upload dist/*
> git tag 0.1.2
> git push origin --tags
"""
from setuptools import find_packages, setup
with open("README.md", "r") as readme:
README = readme.read()
setup(
name='rediscache',
packages=find_packages(),
version='0.1.2',
description='Function decorator to cache results in Redis',
long_description=README,
long_description_content_type='text/markdown',
# Classifiers: https://pypi.org/classifiers/
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries :: Python Modules',
],
author='Pierre Cart-Grandjean',
author_email='[email protected]',
maintainer='Amadeus IT Group',
maintainer_email="[email protected]",
url='https://github.com/AmadeusITGroup/RedisCache',
keywords=['redis', 'performance', 'cache'],
license='MIT license',
install_requires=[
'redis',
'executiontime'
],
)