mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Poetry updates
update version and author emails update makefile to use poetry for more things remove faulty conditional
This commit is contained in:
parent
0ea24da225
commit
8c0c95d1f6
3 changed files with 7 additions and 7 deletions
6
Makefile
6
Makefile
|
@ -11,11 +11,11 @@ clean:
|
||||||
rm -f *.html
|
rm -f *.html
|
||||||
|
|
||||||
html:
|
html:
|
||||||
mkdocs serve
|
poetry run mkdocs serve
|
||||||
|
|
||||||
# Build GitHub Page from docs
|
# Build GitHub Page from docs
|
||||||
docs:
|
docs:
|
||||||
mkdocs gh-deploy
|
poetry run mkdocs gh-deploy
|
||||||
|
|
||||||
format: ## check style with flake8
|
format: ## check style with flake8
|
||||||
poetry run black features jrnl
|
poetry run black features jrnl
|
||||||
|
@ -31,7 +31,7 @@ dist: clean ## builds source and wheel package
|
||||||
|
|
||||||
release: dist ## package and upload a release
|
release: dist ## package and upload a release
|
||||||
poetry publish
|
poetry publish
|
||||||
mkdocs gh-deploy
|
poetry run mkdocs gh-deploy
|
||||||
|
|
||||||
install: clean ## install the package to the active Python's site-packages
|
install: clean ## install the package to the active Python's site-packages
|
||||||
poetry install
|
poetry install
|
||||||
|
|
|
@ -65,7 +65,7 @@ def upgrade_config(config):
|
||||||
This essentially automatically ports jrnl installations if new config parameters are introduced in later
|
This essentially automatically ports jrnl installations if new config parameters are introduced in later
|
||||||
versions."""
|
versions."""
|
||||||
missing_keys = set(default_config).difference(config)
|
missing_keys = set(default_config).difference(config)
|
||||||
if missing_keys or config['version'] != __version__:
|
if missing_keys:
|
||||||
for key in missing_keys:
|
for key in missing_keys:
|
||||||
config[key] = default_config[key]
|
config[key] = default_config[key]
|
||||||
save_config(config)
|
save_config(config)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "jrnl"
|
name = "jrnl"
|
||||||
version = "2.0.0"
|
version = "2.1"
|
||||||
description = "Collect your thoughts and notes without leaving the command line."
|
description = "Collect your thoughts and notes without leaving the command line."
|
||||||
authors = [
|
authors = [
|
||||||
"Manuel Ebert <manuel@1450.me>",
|
"Manuel Ebert <manuel@1450.me>",
|
||||||
"Jonathan Wren",
|
"Jonathan Wren <jonathan@nowandwren.com>",
|
||||||
"Micah Ellison"
|
"Micah Ellison <micahellison@gmail.com>"
|
||||||
]
|
]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
Loading…
Add table
Reference in a new issue