-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·35 lines (29 loc) · 1.14 KB
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from porter import __version__
with open("README.md", encoding="utf-8") as readme_file:
readme = readme_file.read()
with open("requirements.txt", encoding="utf-8") as requirements_file:
requirements = requirements_file.read().splitlines(keepends=False)
with open("LICENSE", encoding="utf-8") as license_file:
license_content = license_file.read()
setup(
name="porter",
version=__version__,
description=("A command-line utility that migrate data and cache into Redis"),
long_description=readme,
long_description_content_type="text/markdown",
author="Zhiwei Wang",
author_email="[email protected]",
url="https://github.com/zhiweio/porter",
packages=find_packages(),
package_data={"porter": ["templates/*.yaml", "README.md"]},
include_package_data=True,
python_requires=">=3.6",
install_requires=requirements,
license=license_content,
zip_safe=False,
keywords=["porter", "Redis", "MySQL", "MongoDB", "JSON", "CSV"],
entry_points={"console_scripts": ["porter = porter.__main__:main"]},
)