-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
75 lines (57 loc) · 1.77 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/python3
'''
========
botogram
========
botogram is a Python framework, which allows you to focus just on
creating your `Telegram bots`_, without worrying about the underlying
Bots API.
While most of the libraries for Telegram out there just wrap the Bots
API, botogram focuses heavily on the development experience, aiming to
provide you the best API possible. Most of the Telegram implementation
details are managed by botogram, so you can just focus on your bot.
::
import botogram
bot = botogram.create("API-KEY")
@bot.command("hello")
def hello_command(chat, message, args):
"""Say hello to the world!"""
chat.send("Hello world")
if __name__ == "__main__":
bot.run()
Want to get started? `Go to the documentation`_
.. _Telegram bots: https://core.telegram.org/bots
.. _Go to the documentation: https://botogram.dev/docs
'''
import setuptools
setuptools.setup(
name = "botogram2",
version = "0.6.1",
url = "https://botogram.dev",
license = "MIT",
author = "The botogram authors",
description = "A Python framework for Telegram bots",
long_description = __doc__,
packages = [
"botogram",
"botogram.objects",
"botogram.runner",
"botogram.utils",
],
install_requires = [
"logbook",
"requests",
"typing"
],
include_package_data = True,
zip_safe = False,
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Communications :: Chat",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
)