Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
coldsofttech committed Apr 7, 2024
1 parent 1cdd491 commit 2b3aa3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from setuptools import setup

from src import Constants

setup(
name='pym3u8downloaderui',
version='0.1.0',
version=Constants.APP_VERSION,
package_dir={'': 'src'},
url='https://github.com/coldsofttech/pym3u8downloaderui',
license='MIT',
Expand Down
3 changes: 2 additions & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class Constants:
"""This class holds all the constant values used in the application"""

APP_TITLE = 'M3U8 Downloader' # Title of the application
APP_VERSION = '0.1.0' # Version of the application
APP_WINDOW_WIDTH = 450 # Width of the application window
APP_WINDOW_HEIGHT = 250 # Height of the application window
APP_PALETTE_BACKGROUND = '#FFFFFF' # Background color of the application
Expand Down Expand Up @@ -388,7 +389,7 @@ def _set_defaults(self) -> None:
"""Set default values for various attributes."""
self.header = 'About this app'
self.app_name = 'M3U8 Downloader'
self.app_version = '0.1.0'
self.app_version = Constants.APP_VERSION
self.copyrights = '© 2024 coldsofttech'
self.license_type = 'MIT License'
self.license_link = 'https://raw.githubusercontent.com/coldsofttech/pym3u8downloaderui/main/LICENSE'
Expand Down

0 comments on commit 2b3aa3d

Please sign in to comment.