This repository has been archived by the owner on Apr 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
62 lines (51 loc) · 1.93 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from __future__ import with_statement
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
import ebr_connector
with open("README.md") as readme_file:
readme = readme_file.read()
with open("CHANGELOG.md") as changelog_file:
changelog = changelog_file.read()
requirements = ["elasticsearch-dsl==6.3.1",
"requests>=2.18.4,<3", "Deprecated==1.2.5"]
setup_requirements = ["pytest-runner"]
test_requirements = ["pytest", "pytest-cov", "coverage", "docker>=3.7.0,<4"]
setup(
author=ebr_connector.__author__,
author_email=ebr_connector.__email__,
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
description="Simple Python package to define a schema for build and test results to be stored in Elasticsearch.",
entry_points={
"console_scripts": [
"ebr-generate-index-template = ebr_connector.index.generate_template:main",
"ebr-store-jenkins-results = ebr_connector.hooks.jenkins.store_results:main"
],
},
install_requires=requirements,
license="Apache License 2.0",
long_description=readme + "\n\n" + changelog,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="ebr_connector",
name=ebr_connector.__project__,
packages=find_packages(),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/tomtom-international/ebr-connector",
version=ebr_connector.__version__,
zip_safe=False,
)