-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
35 lines (29 loc) · 977 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
30
31
32
33
34
35
from setuptools import setup, find_packages
f = open("README.md", "r")
LONG_DESCRIPTION = f.read()
f.close()
with open("requirements.txt") as f:
requirements = f.read().splitlines()
with open("VERSION") as f:
VERSION = f.read().splitlines()[0]
setup(
name="redismirror",
version=VERSION,
description="Mirror Redis Traffic to another redis node",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
install_requires=requirements,
setup_requires=requirements,
author="Ali Saleh Baker",
author_email="[email protected]",
url="https://github.com/alivx/redis-mirror",
license="MIT",
packages=find_packages(exclude=["ez_setup", "tests*"]),
package_data={"redismirror": ["templates/*"]},
include_package_data=True,
keywords=["traffic", "mirror", "redis", "migration", "cli"],
entry_points="""
[console_scripts]
redismirror = redismirror.main:main
""",
)