1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
--- a/main.py
+++ b/main.py
@@ -1,6 +1,7 @@
import sys
-from app import App
+from .app import App
from PyQt6.QtCore import Qt
app = App(sys.argv)
sys.exit(app.exec())
+
--- a/setup.py
+++ b/setup.py
@@ -17,5 +17,11 @@
url='https://github.com/reilleya/openMotor',
description='An open-source internal ballistics simulator for rocket motor experimenters',
long_description=open('README.md').read(),
+ entry_points={
+ 'gui_scripts': [
+ 'openmotor=openmotor.main:main',
+ ],
+ },
cmdclass=cmdclass
-)
\ No newline at end of file
+)
+
|