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
|
||||
|
||||
html:
|
||||
mkdocs serve
|
||||
poetry run mkdocs serve
|
||||
|
||||
# Build GitHub Page from docs
|
||||
docs:
|
||||
mkdocs gh-deploy
|
||||
poetry run mkdocs gh-deploy
|
||||
|
||||
format: ## check style with flake8
|
||||
poetry run black features jrnl
|
||||
|
@ -31,7 +31,7 @@ dist: clean ## builds source and wheel package
|
|||
|
||||
release: dist ## package and upload a release
|
||||
poetry publish
|
||||
mkdocs gh-deploy
|
||||
poetry run mkdocs gh-deploy
|
||||
|
||||
install: clean ## install the package to the active Python's site-packages
|
||||
poetry install
|
||||
|
|
|
@ -65,7 +65,7 @@ def upgrade_config(config):
|
|||
This essentially automatically ports jrnl installations if new config parameters are introduced in later
|
||||
versions."""
|
||||
missing_keys = set(default_config).difference(config)
|
||||
if missing_keys or config['version'] != __version__:
|
||||
if missing_keys:
|
||||
for key in missing_keys:
|
||||
config[key] = default_config[key]
|
||||
save_config(config)
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[tool.poetry]
|
||||
name = "jrnl"
|
||||
version = "2.0.0"
|
||||
version = "2.1"
|
||||
description = "Collect your thoughts and notes without leaving the command line."
|
||||
authors = [
|
||||
"Manuel Ebert <manuel@1450.me>",
|
||||
"Jonathan Wren",
|
||||
"Micah Ellison"
|
||||
"Jonathan Wren <jonathan@nowandwren.com>",
|
||||
"Micah Ellison <micahellison@gmail.com>"
|
||||
]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
|
|
Loading…
Add table
Reference in a new issue