Skip to content

Commit

Permalink
Move to pyproject.toml (#38)
Browse files Browse the repository at this point in the history
* Initial pyproject migration set-up

* rm setup.cfg,MANIFEST.in; use dynamic version

* use spaced equals

* bump version
  • Loading branch information
m4wh6k authored Dec 7, 2022
1 parent 8a3aefc commit c6e743f
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 41 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.1
0.8.2
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@
build-backend = "setuptools.build_meta"
requires = ["setuptools>=62"]

[project]
name = "boardwalk"
description = "Boardwalk is a linear Ansible workflow engine"
dynamic = ["version"]
readme = "README.md"
authors = [
{name = "Mat Hornbeek (Backblaze, Inc.)", email = "[email protected]"}
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS"
]
requires-python = ">=3.10"
dependencies = [
"ansible >=6.5.0",
"ansible-runner >=2.3.0",
"click >=8.1.3",
"cryptography >=38.0.3",
"email-validator >=1.3.0", # Required by pydantic to validate emails using EmailStr
"pydantic >=1.1.275",
"tornado >=6.2"
]

[project.urls]
Source = "https://github.com/Backblaze/boardwalk"
Issues = "https://github.com/Backblaze/boardwalk/issues"

[project.scripts]
boardwalk = "boardwalk.cli:cli"
boardwalkd = "boardwalkd.cli:cli"

[tool.setuptools.package-data]
boardwalk = ["py.typed"]
boardwalkd = ["static/*.css", "static/*.js", "templates/*.html", "py.typed"]

[tool.setuptools.dynamic]
version = {file = "VERSION"}

[tool.pyright]
exclude = [
"build/",
Expand Down
39 changes: 0 additions & 39 deletions setup.cfg

This file was deleted.

0 comments on commit c6e743f

Please sign in to comment.