|
2 | 2 | from setuptools import setup, find_packages
|
3 | 3 | import redis
|
4 | 4 |
|
5 |
| -#setup() |
6 |
| -setup ( |
7 |
| - name='redis', |
8 |
| - description='Python client for Redis database and key-value store', |
9 |
| - long_description=open('README.md').read().strip(), |
10 |
| - keywords=['Redis', 'key-value store', 'database'], |
11 |
| - license='MIT', |
| 5 | +setup( |
| 6 | + name="redis", |
| 7 | + description="Python client for Redis database and key-value store", |
| 8 | + long_description=open("README.md").read().strip(), |
| 9 | + keywords=["Redis", "key-value store", "database"], |
| 10 | + license="MIT", |
12 | 11 | version=redis.__version__,
|
13 |
| - packages=find_packages(include=['redis', 'redis.commands']), |
14 |
| - url='https://github.com/redis/redis-py', |
15 |
| - author='Redis Inc.', |
16 |
| - |
17 |
| - |
18 |
| - classifiers =[ |
19 |
| - 'Development Status :: 5 - Production/Stable', |
20 |
| - 'Environment :: Console', |
21 |
| - 'Intended Audience :: Developers', |
22 |
| - 'License :: OSI Approved :: MIT License', |
23 |
| - 'Operating System :: OS Independent', |
24 |
| - 'Programming Language :: Python', |
25 |
| - 'Programming Language :: Python :: 3', |
26 |
| - 'Programming Language :: Python :: 3 :: Only', |
27 |
| - 'Programming Language :: Python :: 3.6', |
28 |
| - 'Programming Language :: Python :: 3.7', |
29 |
| - 'Programming Language :: Python :: 3.8', |
30 |
| - 'Programming Language :: Python :: 3.9', |
31 |
| - 'Programming Language :: Python :: 3.10', |
32 |
| - 'Programming Language :: Python :: Implementation :: CPython', |
33 |
| - 'Programming Language :: Python :: Implementation :: PyPy', |
| 12 | + packages=find_packages( |
| 13 | + include=[ |
| 14 | + "redis", |
| 15 | + "redis.commands", |
| 16 | + "redis.commands.json", |
| 17 | + "redis.commands.search", |
| 18 | + ] |
| 19 | + ), |
| 20 | + url="https://github.com/redis/redis-py", |
| 21 | + author="Redis Inc.", |
| 22 | + |
| 23 | + classifiers=[ |
| 24 | + "Development Status :: 5 - Production/Stable", |
| 25 | + "Environment :: Console", |
| 26 | + "Intended Audience :: Developers", |
| 27 | + "License :: OSI Approved :: MIT License", |
| 28 | + "Operating System :: OS Independent", |
| 29 | + "Programming Language :: Python", |
| 30 | + "Programming Language :: Python :: 3", |
| 31 | + "Programming Language :: Python :: 3 :: Only", |
| 32 | + "Programming Language :: Python :: 3.6", |
| 33 | + "Programming Language :: Python :: 3.7", |
| 34 | + "Programming Language :: Python :: 3.8", |
| 35 | + "Programming Language :: Python :: 3.9", |
| 36 | + "Programming Language :: Python :: 3.10", |
| 37 | + "Programming Language :: Python :: Implementation :: CPython", |
| 38 | + "Programming Language :: Python :: Implementation :: PyPy", |
34 | 39 | ],
|
35 |
| - |
36 | 40 | extras_require={
|
37 |
| - 'hiredis': ['hiredis>=1.0.0'], |
38 |
| - } |
| 41 | + "hiredis": ["hiredis>=1.0.0"], |
| 42 | + }, |
39 | 43 | )
|
0 commit comments