This repository has been archived by the owner on Jul 16, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
136 lines (116 loc) · 2.85 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[project]
name = "pdm-venv"
description = "(Deprecated)A plugin for pdm that enables virtualenv management"
authors = [
{name = "Frost Ming", email = "mianghong@gmail.com"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"virtualenv>=20.4",
"platformdirs>=2.4",
"pdm<2,>=1.13.0",
]
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[project.urls]
Repository = "https://github.com/pdm-project/pdm-venv"
Homepage = "https://github.com/pdm-project/pdm-venv"
Documentation = "https://pdm-project.github.io/pdm-venv"
[project.optional-dependencies]
doc = [
"mkdocs>=1.1",
"mkdocs-material>=6.2"
]
[project.entry-points.pdm]
venv = "pdm_venv.plugin:entry_point"
[tool.pdm]
version = {source = "scm"}
[tool.pdm.build]
package-dir = "src"
[tool.pdm.scripts]
release = "python -m tasks.release"
test = "pytest tests/"
doc = {shell = "cd docs && mkdocs serve", help = "Start the dev server for doc preview"}
lint = "pre-commit run --all-files"
[tool.pdm.dev-dependencies]
dev = [
"pytest>=6.1",
"towncrier>=19.2",
"parver>=0.3",
"pytest-mock>=3.5",
"pre-commit>=2.15",
"nox>=2021.6",
]
[tool.black]
line-length = 88
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| tests/fixtures
)/
'''
[tool.towncrier]
package = "pdm_venv"
filename = "CHANGELOG.md"
issue_format = "[#{issue}](https://github.com/pdm-project/pdm-venv/issues/{issue})"
directory = "news/"
start_string = "<!-- insertion marker -->"
title_format = "[v{version}](https://github.com/pdm-project/pdm-venv/releases/tag/{version}) ({project_date})"
template = "news/towncrier_template.md"
underlines = "-~^"
[[tool.towncrier.type]]
directory = "feature"
name = "Features & Improvements"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "dep"
name = "Dependencies"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Removals and Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Miscellany"
showcontent = true
[tool.isort]
profile = "black"
atomic = true
skip_glob = ["*/setup.py"]
filter_files = true
known_first_party = ["pdm_venv"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning"
]