Poetry updates

update version and author emails
update makefile to use poetry for more things
remove faulty conditional
This commit is contained in:
Jonathan Wren 2019-10-05 16:06:16 -07:00
parent 0ea24da225
commit 8c0c95d1f6
3 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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)

View file

@ -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"