file permissions; #! line; moved things about
This commit is contained in:
6
grum.py
Normal file → Executable file
6
grum.py
Normal file → Executable file
@ -1,3 +1,7 @@
|
|||||||
from grum.cli import main
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from grum import main
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
from .cli import main
|
||||||
|
|
||||||
|
|
||||||
|
6
grum/cli/grum.py → grum/cli.py
Executable file → Normal file
6
grum/cli/grum.py → grum/cli.py
Executable file → Normal file
@ -1,11 +1,9 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from PyQt5.QtWidgets import QApplication
|
from PyQt5.QtWidgets import QApplication
|
||||||
|
|
||||||
from grum import ctrl_c, theme
|
from . import ctrl_c, theme
|
||||||
from grum.mainwin import MainWindow
|
from .mainwin import MainWindow
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
@ -1 +0,0 @@
|
|||||||
from .grum import main
|
|
4
setup.py
4
setup.py
@ -3,5 +3,7 @@ from setuptools import setup
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
setup(
|
setup(
|
||||||
install_requires=["pyqt5", "pyqtgraph"],
|
install_requires=["pyqt5", "pyqtgraph"],
|
||||||
entry_points={"console_scripts": ["grum=grum.cli:main"]},
|
entry_points={"console_scripts": ["grum=grum:main"]},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user