summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-10-26 14:13:20 +0300
committerGitHub <noreply@github.com>2021-10-26 14:13:20 +0300
commit866ac00b45a144753c40bb466e784a8917212172 (patch)
treef221d6b442dd6b2996911ab999a6e7b47d52b1bf /setup.py
parent2b0a1e72b82b1706ae8f9939dab0ddd62efe413f (diff)
downloadredis-py-866ac00b45a144753c40bb466e784a8917212172.tar.gz
Fixing the package to include commands (#1649)v4.0.0b3
* Fixing the package to include commands. Fixes #1645
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py43
1 files changed, 41 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index c823345..50c3d91 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,43 @@
#!/usr/bin/env python
-from setuptools import setup
+from setuptools import setup, find_packages
+import redis
-setup()
+setup(
+ name="redis",
+ description="Python client for Redis database and key-value store",
+ long_description=open("README.md").read().strip(),
+ keywords=["Redis", "key-value store", "database"],
+ license="MIT",
+ version=redis.__version__,
+ packages=find_packages(
+ include=[
+ "redis",
+ "redis.commands",
+ "redis.commands.json",
+ "redis.commands.search",
+ ]
+ ),
+ url="https://github.com/redis/redis-py",
+ author="Redis Inc.",
+ author_email="oss@redis.com",
+ classifiers=[
+ "Development Status :: 5 - Production/Stable",
+ "Environment :: Console",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: MIT License",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3 :: Only",
+ "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: Implementation :: CPython",
+ "Programming Language :: Python :: Implementation :: PyPy",
+ ],
+ extras_require={
+ "hiredis": ["hiredis>=1.0.0"],
+ },
+)