1
0
Fork 0

Add entrypoint.py

Add setup.py
This commit is contained in:
Trueold89 2024-09-04 19:46:59 +03:00
parent cf06f20076
commit 94ccb3f376
2 changed files with 27 additions and 0 deletions

11
u232ping/entrypoint.py Normal file
View File

@ -0,0 +1,11 @@
#!/usr/bin/python3
from u232ping.bot import main as start
from asyncio import run
def main() -> None:
run(start())
if __name__ == "__main__":
main()

16
u232ping/setup.py Normal file
View File

@ -0,0 +1,16 @@
from setuptools import setup, find_packages
setup(
name='u232ping',
version='0.1',
description='kys',
author='trueold89',
author_email='trueold88@orudo.ru',
packages=["u232ping", "u232ping.abc"],
install_requires=["aiosqlite", "aiogram"],
entry_points={
'console_scripts': [
'u232ping = u232ping.entrypoint:main',
],
}
)