-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
52 lines (46 loc) · 1.46 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
#!/usr/bin/env python3
"""
Packaging setup to test access to the database
"""
from pathlib import Path
from setuptools import find_packages, setup
import django_probes as package
def read_file(filename):
"""Get the contents of a file"""
with (Path(__file__).resolve().parent / filename).open() as file:
return file.read()
setup(
name=package.__name__,
version=package.__version__,
author=package.__author__,
author_email=package.__email__,
description=package.__doc__.strip(),
long_description=read_file('README.rst'),
long_description_content_type='text/x-rst',
url=package.__url__,
packages=find_packages(exclude=['test*']),
include_package_data=True,
keywords=[
'django',
'database',
'probes',
'docker',
'kubernetes',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)