Show app version, bump version number to 0.1.1-pre (#98)

Related to #96
pull/357/head
nyanpasu64 2018-12-29 22:58:48 -05:00 zatwierdzone przez GitHub
rodzic 855abb0956
commit 223e7e2c35
4 zmienionych plików z 8 dodań i 3 usunięć

Wyświetl plik

@ -0,0 +1,2 @@
# https://github.com/sdispater/poetry/issues/144
__version__ = "0.1.1-pre"

Wyświetl plik

@ -4,6 +4,7 @@ from typing import Optional, List, Tuple, Union
import click
from corrscope import __version__
from corrscope.channel import ChannelConfig
from corrscope.config import yaml
from corrscope.outputs import IOutputConfig, FFplayOutputConfig, FFmpegOutputConfig
@ -75,6 +76,7 @@ CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
# Debugging
@click.option('--profile', is_flag=True, help=
'Debug: Write CProfiler snapshot')
@click.version_option(__version__)
def main(
files: Tuple[str],
# cfg

Wyświetl plik

@ -12,7 +12,8 @@ from PyQt5.QtCore import QModelIndex, Qt
from PyQt5.QtGui import QKeySequence, QFont, QCloseEvent
from PyQt5.QtWidgets import QShortcut
from corrscope import cli
from corrscope import __version__ # variable
from corrscope import cli # module wtf?
from corrscope.channel import ChannelConfig
from corrscope.config import CorrError, copy_config, yaml
from corrscope.gui.data_bind import PresentationModel, map_gui, behead, rgetattr, rsetattr
@ -24,7 +25,7 @@ from corrscope.util import obj_name
FILTER_WAV_FILES = "WAV files (*.wav)"
APP_NAME = 'corrscope'
APP_NAME = f'corrscope {__version__}'
APP_DIR = Path(__file__).parent
def res(file: str) -> str:

Wyświetl plik

@ -1,6 +1,6 @@
[tool.poetry]
name = "corrscope"
version = "0.1.0"
version = "0.1.1-pre"
description = ""
authors = ["nyanpasu64 <nyanpasu64@tuta.io>"]
license = "BSD-2-Clause"