/
pyproject.toml
75 lines (59 loc) · 1.63 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[tool.poetry]
name = "cenv_tool"
version = "1.0.2"
description = "conda environment creation and update from meta.yaml"
license = "MIT"
authors = ["Simon Kallfass <skallfass@ouroboros.info>"]
readme = "README.md"
homepage = "https://www.cenv.ouroboros.info"
repository = "https://github.com/skallfass/cenv_tool"
keywords = ["conda", "environment", "dependencies"]
classifiers = [
"Operating System :: Unix",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7"
]
[tool.poetry.dependencies]
python = "^3.7"
attrs = "~19"
jinja2 = ">=2"
"ruamel.yaml" = ">=0.15"
six = ">=1.12"
marshmallow = ">=2.19,<3"
[tool.poetry.dev-dependencies]
coverage-badge = "~1"
ipython = ">=7"
mkdocs = "~1"
monkeytype = ">=19"
pydoc-markdown = "~2"
pylint = ">=2"
pytest = "^3.0"
pytest-cov = '~2'
pytest-datafiles = '~2'
yapf = ">=0"
[tool.poetry.scripts]
cenv = "cenv_tool.project:main"
init_cenv = "cenv_tool.init_cenv:main"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry.extras]
docs = ["mkdocs", "pydoc-markdown"]
[tool.dephell.main]
# read from poetry format
from = {format = "poetry", path = "pyproject.toml"}
# drop dev-dependencies
envs = ["main"]
# and convert into setup.py
to = {format = "setuppy", path = "setup.py"}
versioning = "semver"
[tool.dephell.lock]
from = {format = "poetry", path = "pyproject.toml"}
to = {format = "poetrylock", path = "poetry.lock"}
[tool.dephell.docs]
# read dependencies from poetry format
from = {format = "poetry", path = "pyproject.toml"}
# install only `docs` extra dependencies
envs = ["docs"]
# run this command:
command = "mkdocs build"