diff --git a/setup.py b/setup.py index aab85009..5a3d0148 100755 --- a/setup.py +++ b/setup.py @@ -18,11 +18,12 @@ setup( author_email="chrys87@web.de", # Packages - packages=find_packages('src/fenrir'), + packages=find_packages('fenrir'), package_dir={'': 'src/fenrir'}, - entry_points = { - "console_scripts": ['fenrir = fenrir:fenrir'] - }, + scripts=['src/fenrir/fenrir'], + #entry_points = { + # "console_scripts": ['fenrir = fenrir:main'] + # }, # Include additional files into the package include_package_data=True, @@ -46,4 +47,5 @@ setup( ) +print(find_packages()) diff --git a/src/fenrir/fenrir.py b/src/fenrir/fenrir similarity index 99% rename from src/fenrir/fenrir.py rename to src/fenrir/fenrir index e6c9a99d..a2c0248c 100755 --- a/src/fenrir/fenrir.py +++ b/src/fenrir/fenrir @@ -127,7 +127,11 @@ class fenrir(): time.sleep(0.2) # wait a little before splatter it :) self.environment = None -if __name__ == "__main__": +def main(): + #if __name__ == "__main__": app = fenrir() app.proceed() del app + +if __name__ == "__main__": + main()