forked from toddrob99/Webhooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 1.05 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
import setuptools
from distutils.util import convert_path
# https://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package
main_ns = {}
ver_path = convert_path("webhook_listener/version.py")
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="Webhook_Listener",
version=main_ns["__version__"],
author="Todd Roberts",
author_email="todd@toddrob.com",
description="Very basic webserver module to listen for webhooks and forward requests to predefined functions.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/toddrob99/Webhooks",
packages=setuptools.find_packages(),
install_requires=["cherrypy"],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)