Skip to content

Commit 768b9f6

Browse files
committed
Fixing the package to include commands.
Fixes #1645
1 parent 2b0a1e7 commit 768b9f6

File tree

3 files changed

+38
-42
lines changed

3 files changed

+38
-42
lines changed

redis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def int_or_str(value):
3131
return value
3232

3333

34-
__version__ = '4.0.0b2'
34+
__version__ = '4.0.0b3'
3535
VERSION = tuple(map(int_or_str, __version__.split('.')))
3636

3737
__all__ = [

setup.cfg

Lines changed: 0 additions & 39 deletions
This file was deleted.

setup.py

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,39 @@
11
#!/usr/bin/env python
2-
from setuptools import setup
2+
from setuptools import setup, find_packages
3+
import redis
34

4-
setup()
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',
12+
version=redis.__version__,
13+
packages=find_packages(include=['redis', 'redis.commands']),
14+
url='https://github.com/redis/redis-py',
15+
author='Redis Inc.',
16+
author_email='[email protected]',
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',
34+
],
35+
36+
extras_require={
37+
'hiredis': ['hiredis>=1.0.0'],
38+
}
39+
)

0 commit comments

Comments
 (0)