This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
61 lines (50 loc) · 1.86 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
#!/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 grafana_inviter
with open("README.md") as readme_file:
readme = readme_file.read()
with open("CHANGELOG.md") as changelog_file:
changelog = changelog_file.read()
requirements = ["ldap3>=2.6,<3", "requests>=2.21.0,<3", "anyconfig>=0.9.8,<1", "jsonschema>=3.0.1,<4"]
setup_requirements = ["pytest-runner",]
test_requirements = ["pytest", "pytest-cov", "coverage",]
setup(
author=grafana_inviter.__author__,
author_email=grafana_inviter.__email__,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"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="Python module and script to invite people fetched from LDAP to Grafana",
entry_points={
"console_scripts": [
"grafana-inviter=grafana_inviter.cli:main",
],
},
install_requires=requirements,
license="Apache Software License 2.0",
long_description=readme + "\n\n" + changelog,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="grafana_inviter",
name=grafana_inviter.__project__,
packages=find_packages(include=["grafana_inviter"]),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/tomtom-international/grafana-inviter",
version=grafana_inviter.__version__,
zip_safe=False,
)