-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (67 loc) · 3.15 KB
/
setup.py
File metadata and controls
72 lines (67 loc) · 3.15 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- coding: utf-8 -*-
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
███████╗███████╗ ███╗ ███╗██╗ ██████╗ ██████╗ █████╗ ████████╗███████╗
██╔════╝██╔════╝ ████╗ ████║██║██╔════╝ ██╔══██╗██╔══██╗╚══██╔══╝██╔════╝
█████╗ ███████╗ ██╔████╔██║██║██║ ███╗██████╔╝███████║ ██║ █████╗
██╔══╝ ╚════██║ ██║╚██╔╝██║██║██║ ██║██╔══██╗██╔══██║ ██║ ██╔══╝
███████╗███████║ ██║ ╚═╝ ██║██║╚██████╔╝██║ ██║██║ ██║ ██║ ███████╗
╚══════╝╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
from os import path
from setuptools import find_packages, setup
setup_dependencies = [
"wheel",
"setuptools-scm",
]
install_dependencies = [
"importlib-metadata;python_version<'3.8'",
"appdirs",
"click",
"click-log",
"requests",
"sqlalchemy",
"validator-collection",
]
try:
docs_file = path.join(path.abspath(path.dirname(__file__)), "README.md")
with open(docs_file, encoding="utf-8") as f:
long_description = "\n" + f.read()
except FileNotFoundError:
long_description = __doc__
setup(
name="elastic-migrate",
url="https://github.com/zobayer1/elastic-migrate",
license="MIT",
author="Zobayer Hasan",
author_email="zobayer1@gmail.com",
description="Elasticsearch migration tool.",
keywords="python elastic elasticsearch migrate migration",
long_description=long_description,
use_scm_version=True,
setup_requires=setup_dependencies,
packages=find_packages(exclude=["docs", "tests"]),
include_package_data=True,
zip_safe=False,
platforms="any",
install_requires=install_dependencies,
entry_points={
"console_scripts": [
"esmigrate = esmigrate.cli:main",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Unix",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)