Skip to content

Commit

Permalink
Version 1.0 (#69)
Browse files Browse the repository at this point in the history
* rel : migrate to version 1.0

* fix : minor edit in INPUT_EXAMPLE
  • Loading branch information
sepandhaghighi authored Nov 8, 2023
1 parent 24cf274 commit 2865887
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.0] - 2023-11-08
### Added
- `--programs-list` argument
- `--faces-list` argument
Expand Down Expand Up @@ -90,7 +91,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Count-up mode
- Alarm

[Unreleased]: https://github.com/sepandhaghighi/mytimer/compare/v0.9...dev
[Unreleased]: https://github.com/sepandhaghighi/mytimer/compare/v1.0...dev
[1.0]: https://github.com/sepandhaghighi/mytimer/compare/v0.9...v1.0
[0.9]: https://github.com/sepandhaghighi/mytimer/compare/v0.8...v0.9
[0.8]: https://github.com/sepandhaghighi/mytimer/compare/v0.7...v0.8
[0.7]: https://github.com/sepandhaghighi/mytimer/compare/v0.6...v0.7
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ The main objective of <strong>MyTimer</strong> is to offer a minimalistic and di
## Installation

### Source Code
- Download [Version 0.9](https://github.com/sepandhaghighi/mytimer/archive/v0.9.zip) or [Latest Source ](https://github.com/sepandhaghighi/mytimer/archive/dev.zip)
- Download [Version 1.0](https://github.com/sepandhaghighi/mytimer/archive/v1.0.zip) or [Latest Source ](https://github.com/sepandhaghighi/mytimer/archive/dev.zip)
- `pip install .`

### PyPI

- Check [Python Packaging User Guide](https://packaging.python.org/installing/)
- `pip install mytimer==0.9`
- `pip install mytimer==1.0`


## Usage
Expand Down
4 changes: 2 additions & 2 deletions mytimer/params.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
"""mytimer params."""

MY_TIMER_VERSION = "0.9"
MY_TIMER_VERSION = "1.0"
INPUT_ERROR_MESSAGE = "[Error] Wrong input"
SOUND_ERROR_MESSAGE = "[Error] Unable to play sound"
PROGRAMS_LIST_TEMPLATE = "{0}. `{1}` - {2}"
TIME_PRINT_TEMPLATE = "{0} : {1} : {2}"
FACES_LIST_EXAMPLE_MESSAGE = "12 : 34 : 56"
INPUT_EXAMPLE = "Example: python -m mytimer --hour=1 --minute=1 --second=1"
INPUT_EXAMPLE = "Example: mytimer --hour=1 --minute=1 --second=1"
TIME_ELEMENTS = ["minute", "second", "hour"]
MESSAGE_TEMPLATE = "Message: {0}"

Expand Down
2 changes: 1 addition & 1 deletion otherfiles/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import codecs

Failed = 0
VERSION = "0.9"
VERSION = "1.0"

README_ITEMS = [
"[Version {0}](https://github.com/sepandhaghighi/mytimer/archive/v{0}.zip)",
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ def read_description():
setup(
name='mytimer',
packages=['mytimer'],
version='0.9',
version='1.0',
description='A Geeky Timer for Terminal Enthusiasts',
long_description=read_description(),
long_description_content_type='text/markdown',
include_package_data=True,
author='Sepand Haghighi',
author_email='[email protected]',
url='https://github.com/sepandhaghighi/mytimer',
download_url='https://github.com/sepandhaghighi/mytimer/tarball/v0.9',
download_url='https://github.com/sepandhaghighi/mytimer/tarball/v1.0',
keywords="python3 python timer terminal stopwatch cli",
project_urls={
'Source': 'https://github.com/sepandhaghighi/mytimer'
Expand Down

0 comments on commit 2865887

Please sign in to comment.