Skip to content

Commit 1aa717c

Browse files
committed
Fix pyproject.toml to allow installing jockey as a Pip dependency
1 parent fc01b12 commit 1aa717c

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

pyproject.toml

+6-13
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[project]
22
requires-python = ">=3.10"
33

4-
[tool.poetry]
54
name = "jockey"
65
version = "0.2.1"
76
description = "A CLI tool designed to facilitate quick and easy retrieval of Juju objects using filters."
87
readme = "README.md"
98
authors = [
10-
"Connor Chamberlain <[email protected]>",
11-
"Pedro Castillo <[email protected]>"
9+
{ name = "Connor Chamberlain", email = "[email protected]" },
10+
{ name = "Pedro Castillo", email = "[email protected]" },
1211
]
1312

1413
classifiers = [
@@ -17,9 +16,8 @@ classifiers = [
1716
"Operating System :: POSIX :: Linux",
1817
]
1918

20-
packages = [
21-
{ include = "jockey", from = "src" }
22-
]
19+
[tool.poetry]
20+
packages = [{ include = "jockey", from = "src" }]
2321

2422
[tool.poetry.scripts]
2523
juju-jockey = "jockey:main"
@@ -72,9 +70,7 @@ directory = "htmlcov"
7270

7371
[tool.pytest.ini_options]
7472
pythonpath = "src"
75-
addopts = [
76-
"--import-mode=importlib",
77-
]
73+
addopts = ["--import-mode=importlib"]
7874
md_report = true
7975
md_report_verbose = 0
8076
md_report_color = "auto"
@@ -149,10 +145,7 @@ juju-jockey = { source = "src/jockey/__init__.py", type = "onefile", bundle = fa
149145

150146
[tool.commitizen]
151147
tag_format = "v$version"
152-
version_files = [
153-
"pyproject.toml:version",
154-
"src/jockey/__init__.py"
155-
]
148+
version_files = ["pyproject.toml:version", "src/jockey/__init__.py"]
156149
bump_message = "bump: $current_version -> $new_version [skip ci]"
157150

158151
[build-system]

0 commit comments

Comments
 (0)