From 7fea1ef6998a0aa8b9d35fbced927f9385b0b7cb Mon Sep 17 00:00:00 2001 From: Rahul Date: Sat, 27 Feb 2021 09:16:39 +0530 Subject: [PATCH] * Moved main.py inside py package * Updated the moved location inside the setup.py --- main.py => party_parrot/main.py | 2 +- setup.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) rename main.py => party_parrot/main.py (56%) diff --git a/main.py b/party_parrot/main.py similarity index 56% rename from main.py rename to party_parrot/main.py index 3cc93e9..5f9781e 100644 --- a/main.py +++ b/party_parrot/main.py @@ -1,4 +1,4 @@ -from party_parrot import party +from .party import party if __name__ == '__main__': party() diff --git a/setup.py b/setup.py index 8e8638a..0c76d05 100644 --- a/setup.py +++ b/setup.py @@ -14,10 +14,9 @@ package_data={ 'party_parrot': ['frames/*.txt'], }, - scripts=['main.py'], entry_points={ 'console_scripts': [ - 'party = main:party' + 'party = party_parrot.main:party' ] }, install_requires=[