Skip to content

Commit

Permalink
Migrate to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Nov 17, 2024
1 parent bcb0667 commit 4207bee
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 44 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
__pycache__
.testrepository/
Wikkid.egg-info/
dist
build
54 changes: 53 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
[build-system]
requires = ["setuptools"]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "Wikkid"
description = "VCS-backed wiki"
authors = [{name = "Wikkid Developers", email = "wikkid-dev@lists.launchpad.net"}]
dependencies = [
"breezy",
"docutils",
"dulwich",
"jinja2",
"merge3",
"pygments",
"twisted",
"webob",
"zope.interface",
]
dynamic = ["version"]
readme = "README.rst"

[project.urls]
Homepage = "https://launchpad.net/wikkid"
Repository = "https://github.com/wikkid-team/wikkid"

[project.optional-dependencies]
dev = [
"testtools",
"bs4",
"lxml",
]
testing = [
"testtools",
"bs4",
"lxml",
]

[tool.setuptools]
script-files = ["bin/wikkid-serve"]
package-dir = {"breezy.plugins.wikkid" = "plugin"}
include-package-data = true

[tool.setuptools.packages]
find = {namespaces = false}

[tool.setuptools.package-data]
"wikkid.skin" = [
"default/*.html",
"default/favicon.ico",
"default/static/*",
]

[tool.setuptools.dynamic]
version = {attr = "wikkid.version"}
43 changes: 0 additions & 43 deletions setup.cfg

This file was deleted.

0 comments on commit 4207bee

Please sign in to comment.