-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
38 lines (31 loc) · 1.27 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
# To use a consistent encoding
from codecs import open
from os import path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
def read_local_file(f_name):
with open(path.join(here, f_name), encoding="utf-8") as f:
contents = f.read()
# If on win, get rid of CR from CRLF
return contents.replace("\r", "")
long_description = read_local_file("README.md")
requirements = read_local_file("requirements.txt").split("\n")
setup(
name="discordhealthcheck",
version="0.1.1",
description="A small Python 3 library and command line app to automate Docker health checks for discord.py bots.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/psidex/discordhealthcheck",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
keywords="discord discord.py docker healthcheck health check bot",
packages=find_packages(exclude=["contrib", "docs", "tests", "examples"]),
install_requires=requirements,
entry_points={
"console_scripts": ["discordhealthcheck = discordhealthcheck.__main__:main"]
},
)