diff --git a/pikaraoke/__init__.py b/pikaraoke/__init__.py index d5d0bb74..c5828b0a 100644 --- a/pikaraoke/__init__.py +++ b/pikaraoke/__init__.py @@ -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", diff --git a/pikaraoke/app.py b/pikaraoke/app.py index 16ca0afe..e7882dda 100644 --- a/pikaraoke/app.py +++ b/pikaraoke/app.py @@ -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: diff --git a/pikaraoke/constants.py b/pikaraoke/constants.py index 1eb38bf0..d2e4ba2c 100644 --- a/pikaraoke/constants.py +++ b/pikaraoke/constants.py @@ -1,4 +1,3 @@ -VERSION = "1.2.1" LANGUAGES = { "en": "English", "zh_CN": "Chinese", diff --git a/pikaraoke/version.py b/pikaraoke/version.py new file mode 100644 index 00000000..67bc602a --- /dev/null +++ b/pikaraoke/version.py @@ -0,0 +1 @@ +__version__ = "1.3.0"