From 5610b78bf08336dcf4b00fed01f238c4e0e39db0 Mon Sep 17 00:00:00 2001 From: Davide Depau Date: Sun, 28 Jan 2018 01:44:44 +0100 Subject: [PATCH] Move code to package --- callmebyyourbot.py => callmebyyourbot/__init__.py | 0 setup.py | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) rename callmebyyourbot.py => callmebyyourbot/__init__.py (100%) diff --git a/callmebyyourbot.py b/callmebyyourbot/__init__.py similarity index 100% rename from callmebyyourbot.py rename to callmebyyourbot/__init__.py diff --git a/setup.py b/setup.py index fa68d4d..b628e98 100644 --- a/setup.py +++ b/setup.py @@ -10,5 +10,8 @@ setup( author_email='davide@depau.eu', description='A Telegram bot that replies with a picture of Elio when #TeamElio is sent', dependency_links=["https://github.com/Depaulicious/DepyTG/archive/wip.zip"], - requires=["DepyTG", "requests"] + requires=["DepyTG", "requests"], + entry_points={ + 'console_scripts': ['callmebyyourbot=callmebyyourbot:main'], + } )