forked from Wobbl/Wobuzz
Made the project also work with "pip install ." (without "-e")
This commit is contained in:
parent
905f157ee0
commit
3685f25882
7 changed files with 24 additions and 16 deletions
4
setup.py
4
setup.py
|
@ -16,7 +16,7 @@ setuptools.setup(
|
|||
url="https://teapot.informationsanarchistik.de/Wobbl/Wobuzz",
|
||||
author="The Wobbler",
|
||||
author_email="emil@i21k.de",
|
||||
packages=["wobuzz"],
|
||||
packages=setuptools.find_packages(include=["wobuzz", "wobuzz.*"]),
|
||||
package_data={"": ["*.txt"]},
|
||||
install_requires=[
|
||||
"PyQt6",
|
||||
|
@ -26,6 +26,6 @@ setuptools.setup(
|
|||
"wobbl_tools @ git+https://teapot.informationsanarchistik.de/Wobbl/wobbl_tools@main#egg=wobbl_tools"
|
||||
],
|
||||
entry_points={
|
||||
"console_scripts": ["wobuzz=wobuzz.command_line"],
|
||||
"console_scripts": ["wobuzz=wobuzz.command_line:main"],
|
||||
}
|
||||
)
|
||||
|
|
|
@ -5,6 +5,7 @@ import argparse
|
|||
from .main import Wobuzz
|
||||
|
||||
|
||||
def main():
|
||||
description = "A music player made by The Wobbler."
|
||||
|
||||
parser = argparse.ArgumentParser(description=description)
|
||||
|
@ -27,3 +28,6 @@ app.library.create_playlist_views()
|
|||
|
||||
sys.exit(app.qt_app.exec())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
1
wobuzz/gui_communication/__init__.py
Normal file
1
wobuzz/gui_communication/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
#!/usr/bin/python3
|
1
wobuzz/library/__init__.py
Normal file
1
wobuzz/library/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
#!/usr/bin/python3
|
|
@ -5,7 +5,7 @@ from PyQt6.QtWidgets import QApplication
|
|||
from wobbl_tools.data_file import load_dataclass_json
|
||||
from .settings import Settings
|
||||
from .utils import Utils
|
||||
from .player.player import Player
|
||||
from .player import Player
|
||||
from .library.library import Library
|
||||
from .gui import GUI
|
||||
from .gui_communication.gui_communication import GUICommunication
|
||||
|
|
1
wobuzz/ui/__init__.py
Normal file
1
wobuzz/ui/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
#!/usr/bin/python3
|
1
wobuzz/ui/settings/__init__.py
Normal file
1
wobuzz/ui/settings/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
#!/usr/bin/python3
|
Loading…
Add table
Reference in a new issue