-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (25 loc) · 905 Bytes
/
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
import re
from setuptools import find_namespace_packages, setup
with open("redisim/__init__.py") as f:
version = re.findall("__version__.*(\d+\.\d+\.\d+).*", f.read())[0]
with open("README.md") as f:
LONG_DESCRIPTION = f.read()
setup(
name="redisim", # package name
version=version, # package version
description="redisim", # package description
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
project_urls={
"Documentation": "http://github.com/lloydzhou/redisim",
"Code": "http://github.com/lloydzhou/redisim",
"Issue tracker": "http://github.com/lloydzhou/redisim/issues",
},
author="[email protected]",
license="MIT",
keywords=["Redis", "IM", "Websocket"],
packages=find_namespace_packages(),
zip_safe=False,
install_requires=["redis>=4.2.0"],
python_requires=">=3.8",
)