Skip to content

Commit

Permalink
refactor: add version.py file
Browse files Browse the repository at this point in the history
Keeps track of the python package version.
  • Loading branch information
mariugul committed Aug 28, 2024
1 parent 865ed56 commit a0d5d81
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pikaraoke/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from pikaraoke.constants import VERSION
from pikaraoke.karaoke import Karaoke
from pikaraoke.lib.get_platform import get_platform
from pikaraoke.version import __version__

__version__ = VERSION
PACKAGE = __package__
VERSION = __version__

__all__ = [
"VERSION",
Expand Down
4 changes: 2 additions & 2 deletions pikaraoke/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait

from pikaraoke import karaoke
from pikaraoke.constants import LANGUAGES, VERSION
from pikaraoke import VERSION, karaoke
from pikaraoke.constants import LANGUAGES
from pikaraoke.lib.get_platform import get_platform, is_raspberry_pi

try:
Expand Down
1 change: 0 additions & 1 deletion pikaraoke/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
VERSION = "1.2.1"
LANGUAGES = {
"en": "English",
"zh_CN": "Chinese",
Expand Down
1 change: 1 addition & 0 deletions pikaraoke/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "1.3.0"

0 comments on commit a0d5d81

Please sign in to comment.