Skip to content

Commit 70cbe89

Browse files
authored
Merge pull request #1 from green-api/SW-1614
Updated `setup.py`
2 parents ef084b4 + 1ff8acd commit 70cbe89

2 files changed

Lines changed: 31 additions & 18 deletions

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tornado
1+
tornado==6.3.2

setup.py

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
1-
import setuptools
1+
from setuptools import setup, find_packages
22

3-
with open("README.md") as file:
4-
read_me_description = file.read()
3+
with open("README.md", encoding="UTF-8") as file:
4+
long_description = file.read()
55

6-
setuptools.setup(
6+
setup(
77
name="whatsapp-api-webhook-server-python",
8-
version="0.0.5",
9-
install_requires=['tornado'],
10-
author="Ivan Sadovy",
11-
author_email="sadiv@bk.ru",
12-
description="This library helps you easily create a python '\
13-
'server application to get webhooks the WhatsApp API events '\
14-
'using service green-api.com",
15-
long_description=read_me_description,
8+
version="0.0.6",
9+
description=(
10+
"This library helps you easily create"
11+
" a Python server endpoint to receive WhatsApp message webhooks."
12+
),
13+
long_description=long_description,
1614
long_description_content_type="text/markdown",
15+
author="GREEN API",
16+
author_email="support@green-api.com",
1717
url="https://github.com/green-api/whatsapp-api-webhook-server-python",
18-
packages=['whatsapp_api_webhook_server_python'],
18+
packages=find_packages(exclude=["tests"]),
1919
classifiers=[
20-
"Programming Language :: Python :: 3",
21-
"License :: OSI Approved :: MIT License",
20+
"Development Status :: 5 - Production/Stable",
21+
"Environment :: Console",
22+
"Intended Audience :: Developers",
23+
"License :: Other/Proprietary License",
2224
"Operating System :: OS Independent",
25+
"Programming Language :: Python :: 3.7",
26+
"Programming Language :: Python :: 3.8",
27+
"Programming Language :: Python :: 3.9",
28+
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
30+
"Topic :: Software Development :: Libraries :: Application Frameworks"
2331
],
24-
python_requires='>=3.5',
25-
)
32+
license=(
33+
"Creative Commons Attribution-NoDerivatives 4.0 International"
34+
" (CC BY-ND 4.0)"
35+
),
36+
install_requires=["tornado==6.3.2"],
37+
python_requires=">=3.7"
38+
)

0 commit comments

Comments
 (0)