Skip to content

Commit

Permalink
add pyproject.toml file
Browse files Browse the repository at this point in the history
Make it easier to distribute kirk if it is a pip package.
Can be built and installed with 'flit build', 'flit install --symlink'
to install it locally.

Signed-off-by: Anders Roxell <[email protected]>
  • Loading branch information
roxell committed Jun 12, 2024
1 parent 2b1fb7e commit 6a17546
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "kirk"
authors = [{name = "Andrea Cervesato", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: GNU Lesser General Public License v2 (GPLv2)"]
requires-python = ">=3.6"
dynamic = ["version", "description"]

[project.optional-dependencies]
all = [
"asyncssh",
"msgpack",
]

[tool.flit.module]
name = "libkirk"

[project.scripts]
kirk = "libkirk.main:run"

[project.urls]
Source = "https://github.com/linux-test-project/kirk.git"

0 comments on commit 6a17546

Please sign in to comment.