-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
66 lines (55 loc) · 1.63 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
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
#
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License 2.0;
# you may not use this file except in compliance with the Elastic License 2.0.
#
import sys
from setuptools import find_packages, setup
if sys.version_info < (3, 6):
raise ValueError("Requires Python 3.6 or superior")
from ees_network_drive import __version__ # NOQA
install_requires = [
"requests_ntlm",
"elastic_enterprise_search",
"pyyaml",
"tika",
"ecs_logging",
"cerberus",
"pytest",
"pysmb",
"wcmatch",
"pytest-cov",
"cached_property",
"flake8"
]
description = ""
with open("README.md", encoding='utf-8') as readme_file:
description += readme_file.read() + "\n\n"
classifiers = [
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"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",
]
setup(
name="ees-network_drive",
version=__version__,
url="someurl",
packages=find_packages(),
long_description=description.strip(),
description=("Some connectors"),
author="author",
author_email="email",
include_package_data=True,
zip_safe=False,
classifiers=classifiers,
install_requires=install_requires,
data_files=[("config", ["network_drive_connector.yml"])],
entry_points="""
[console_scripts]
ees_network_drive = ees_network_drive.cli:main
""",
)