forked from capitalone/json-syntax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (67 loc) · 2.02 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
76
77
78
79
[tool.poetry]
name = "json-syntax"
version = "2.3.1"
description = "Generates functions to convert Python classes to JSON dumpable objects."
authors = ["Ben Samuel <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/UnitedIncome/json-syntax"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries"
]
[tool.poetry.dependencies]
python = "^3.4"
python-dateutil = {version="^2.7", python = "<3.7"}
typing = {version = "^3.7", python = "<3.5"}
[tool.poetry.dev-dependencies]
pytest = "^4.1"
attrs = "^19.2"
pytest-cov = "^2.6"
hypothesis = "^4"
dataclasses = {version="0.4", python = ">=3.6,<3.7"}
typing-extensions = {version = "^3.7", python = "<3.8"}
# Install these tools via pipx.
# black = {version = "^19.3-beta.0", allow-prereleases = true, python = ">=3.7"}
# dephell = {version = '^0.8.0', python = '>=3.6'}
[tool.black]
line-length = 88
target-version = ["py34"]
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"
[tool.dephell.setup]
# dephell deps convert -e setup; then pip install -e path/to/json_syntax will work
from = {format = "poetry", path = "pyproject.toml"}
to = {format = 'setuppy', path = "setup.py"}
[tool.dephell.req]
# Use `dephell deps convert -e req` to generate requirements.txt.
from = {format = "poetry", path = "pyproject.toml"}
to = {format = 'pip', path = "requirements.txt"}
[tool.dephell.test34.docker]
# dephell docker run -e test34 pip install -r requirements.txt
# dephell docker run -e test34 pytest tests/
container = "test34"
repo = "python"
tag = "3.4"
[tool.dephell.test35.docker]
container = "test35"
repo = "python"
tag = "3.5"
[tool.dephell.test36.docker]
container = "test36"
repo = "python"
tag = "3.6"
[tool.dephell.test37.docker]
container = "test37"
repo = "python"
tag = "3.7"
[tool.dephell.test38.docker]
container = "test38"
repo = "python"
tag = "3.8"
[tool.dephell.test39.docker]
container = "test39"
repo = "python"
tag = "3.9-rc"