Skip to content

Commit f56829d

Browse files
committed
PEP621
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
1 parent 515950e commit f56829d

File tree

7 files changed

+72
-84
lines changed

7 files changed

+72
-84
lines changed

.flake8

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,6 @@ dmypy.json
7575

7676
# PyCharm
7777
.idea/
78+
79+
### Project specific
80+
click_option_group/_version.py

MANIFEST.in

Lines changed: 0 additions & 4 deletions
This file was deleted.

click_option_group/_version.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

pyproject.toml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[build-system]
2+
requires = ["hatchling", "hatch-vcs"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "click-option-group"
7+
authors = [
8+
{ name = "Eugene Prilepin", email = "esp.home@gmail.com" },
9+
]
10+
description = "Option groups missing in Click"
11+
readme = "README.md"
12+
license = 'BSD-3-Clause'
13+
license-files = { paths = ['LICENSE'] }
14+
requires-python = ">=3.6"
15+
classifiers = [
16+
'Development Status :: 4 - Beta',
17+
'Intended Audience :: Developers',
18+
'Environment :: Console',
19+
'Topic :: Software Development :: Libraries',
20+
'License :: OSI Approved :: BSD License',
21+
'Operating System :: OS Independent',
22+
'Programming Language :: Python',
23+
'Programming Language :: Python :: 3 :: Only',
24+
'Programming Language :: Python :: 3',
25+
'Programming Language :: Python :: 3.6',
26+
'Programming Language :: Python :: 3.7',
27+
'Programming Language :: Python :: 3.8',
28+
'Programming Language :: Python :: 3.9',
29+
'Programming Language :: Python :: 3.10',
30+
'Programming Language :: Python :: 3.11',
31+
]
32+
33+
dynamic = ["version"]
34+
35+
dependencies = [
36+
'Click>=7.0',
37+
]
38+
39+
[project.optional-dependencies]
40+
test = [
41+
"pytest",
42+
]
43+
test_cov = [
44+
"click-option-group[test]",
45+
'pytest-cov',
46+
]
47+
dev = [
48+
"click-option-group[test]",
49+
]
50+
docs = [
51+
'sphinx',
52+
'Pallets-Sphinx-Themes',
53+
'm2r2',
54+
]
55+
56+
[project.urls]
57+
Homepage = "https://github.com/click-contrib/click-option-group"
58+
Code = "https://github.com/click-contrib/click-option-group"
59+
Documentation = "https://click-option-group.readthedocs.io"
60+
Issues = "https://github.com/click-contrib/click-option-group/issues"
61+
62+
[tool.hatch]
63+
version.source = "vcs"
64+
build.hooks.vcs.version-file = "click_option_group/_version.py"
65+
build.targets.wheel.packages = ['click-option-group']
66+
67+
68+
[tool.pytest.ini_options]
69+
testpaths = ["tests"]

setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)