Add Poetry config

Add deployment through poetry to travis
This commit is contained in:
Manuel Ebert 2019-07-07 20:41:18 -07:00
parent 1affb9b7b5
commit a61658d453
8 changed files with 549 additions and 141 deletions

40
pyproject.toml Normal file
View file

@ -0,0 +1,40 @@
[tool.poetry]
name = "jrnl"
version = "2.0.0"
description = "Collect your thoughts and notes without leaving the command line."
authors = [
"Manuel Ebert <manuel@1450.me>",
"Jonathan Wren",
"Micah Ellison"
]
license = "MIT"
readme = "README.md"
homepage = "https://jrnl.sh"
repository = "https://github.com/jrnl-org/jrnl"
[tool.poetry.dependencies]
python = "^3.7"
pyxdg = "^0.26.0"
cryptography = "^2.7"
passlib = "^1.7"
parsedatetime = "^2.4"
keyring = "^19.0"
pytz = "^2019.1"
tzlocal = "^1.5"
asteval = "^0.9.14"
colorama = {version = "^0.4.1",platform = "win32"}
python-dateutil = "^2.8"
[tool.poetry.dev-dependencies]
behave = "^1.2"
mkdocs = "^1.0"
flake8 = "^3.7"
black = {version = "^18.3-alpha.0",allows-prereleases = true}
[tool.poetry.scripts]
jrnl = 'jrnl.cli:run'
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"