Skip to content

Instantly share code, notes, and snippets.

@blaggacao
Created December 10, 2019 00:11
Show Gist options
  • Save blaggacao/34765d9ce6d0783297952f1802b69c45 to your computer and use it in GitHub Desktop.
Save blaggacao/34765d9ce6d0783297952f1802b69c45 to your computer and use it in GitHub Desktop.
poetry-toml
[tool.poetry]
name = "dodoo"
version = "0.1.0"
description = "A suck-less Odoo server middleware; batteries included."
authors = [
"David Arnold <dar@xoe.solutions>"
]
license = "LGPL-3.0+"
readme = 'README.md'
repository = "https://github.com/xoe-labs/dodoo"
homepage = "https://github.com/xoe-labs/dodoo/blob/master/dodoo/README.md"
classifiers = [
"Topic :: Software Development :: User Interfaces",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Framework :: Odoo",
"Typing :: Typed",
]
[tool.poetry.dependencies]
# dodoo-run = { version = "^0.1.0", optional = true }
# dodoo-init = { version = "^0.1.0", optional = true }
# dodoo-backup = { version = "^0.1.0", optional = true }
# dodoo-copy = { version = "^0.1.0", optional = true }
# dodoo-shell = { version = "^0.1.0", optional = true }
# dodoo-load = { version = "^0.1.0", optional = true }
# dodoo-migrate = { version = "^0.1.0", optional = true }
# dodoo-test = { version = "^0.1.0", optional = true }
python = "^3.7"
psycopg2 = "^2.8.4"
pygit2 = "^1.0.0"
click-plugins = "1.1.1"
click = "7.0"
click-pathlib = "^2019.6"
[tool.poetry.extras]
server = ["dodoo-run", "dodoo-init", "dodoo-backup", "dodoo-copy"]
ops = ["dodoo-shell", "dodoo-load", "dodoo-migrate", "dodoo-test"]
[tool.poetry.dev-dependencies]
pytest-mock = "^1.13"
pre-commit = "^1.20"
pytest = "^5.3"
click-man = "^0.3.0"
pytest-cov = "^2.8"
odoo = { git = "https://github.com/odoo/odoo.git", branch = "12.0" }
[tool.poetry.scripts]
dodoo = 'dodoo.cli:main'
# [tool.poetry.plugins."dodoo.cli_plugins"]
# test = dodoo-test.cli:test
# pytest = dodoo-test.cli:pytest
[tool.autopub]
git-username = "blaggacao"
git-email = "dar@xoe.solutions"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
@blaggacao
Copy link
Author

a poetry install takes more than 20 mins due to odoo = { git = "https://github.com/odoo/odoo.git", branch = "12.0" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment