fix setup.py with script
This commit is contained in:
parent
34808ec737
commit
ef71fb385c
10
setup.py
10
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())
|
||||
|
||||
|
@ -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()
|
Loading…
Reference in New Issue
Block a user