Browse Source

Rename data.py -> info.py. Also re-write docstrings

doc-issue-template
MrS0m30n3 10 years ago
parent
commit
5a43d4a2dd
4 changed files with 12 additions and 3 deletions
  1. 2
      youtube_dl_gui/__init__.py
  2. 9
      youtube_dl_gui/info.py
  3. 2
      youtube_dl_gui/mainframe.py
  4. 2
      youtube_dl_gui/optionsframe.py

2
youtube_dl_gui/__init__.py

@ -24,7 +24,7 @@ except ImportError as error:
# For package use # For package use
from .version import __version__ from .version import __version__
from .data import (
from .info import (
__author__, __author__,
__appname__, __appname__,
__contact__, __contact__,

youtube_dl_gui/data.py → youtube_dl_gui/info.py

@ -1,3 +1,12 @@
"""Youtubedlg module that holds package information.
Note:
All those info could be stored in the __init__ file
but we keep them here to keep the code clean.
"""
__author__ = 'Sotiris Papadopoulos' __author__ = 'Sotiris Papadopoulos'
__contact__ = 'ytubedlg@gmail.com' __contact__ = 'ytubedlg@gmail.com'
__projecturl__ = 'http://mrs0m30n3.github.io/youtube-dl-gui/' __projecturl__ = 'http://mrs0m30n3.github.io/youtube-dl-gui/'

2
youtube_dl_gui/mainframe.py

@ -22,7 +22,7 @@ from .utils import (
get_time, get_time,
open_dir open_dir
) )
from .data import (
from .info import (
__appname__ __appname__
) )

2
youtube_dl_gui/optionsframe.py

@ -10,7 +10,7 @@ from .logmanager import LogGUI
from .version import __version__ from .version import __version__
from .data import (
from .info import (
__descriptionfull__, __descriptionfull__,
__licensefull__, __licensefull__,
__projecturl__, __projecturl__,

Loading…
Cancel
Save