diff --git a/pyproject.toml b/pyproject.toml index 5983a84..7b5a76b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,8 +9,9 @@ name = "Wutta-Demo" version = "0.1.0" description = "" readme = "README.md" -authors = [{name = "Your Name", email = "you@example.com"}] -keywords = ["Wutta Demo"] +authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}] +license = {text = "GNU GPL v3+"} +keywords = ["Wutta"] classifiers = [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", @@ -19,21 +20,11 @@ classifiers = [ "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", - - # TODO: remove this if you intend to publish your project - # (it's here by default, to prevent accidental publishing) - "Private :: Do Not Upload", ] -# requires-python = ">= 3.9" dependencies = [ "psycopg2", "Wutta-Continuum", "WuttaWeb", - - # TODO: these may be needed to build/release package - #'build', - #'invoke', - #'twine', ] @@ -42,25 +33,25 @@ wuttademo = "wuttademo.commands:wuttademo_typer" [project.entry-points."wutta.config.extensions"] - "wuttademo" = "wuttademo.config:WuttaDemoConfig" -[project.entry-points."paste.app_factory"] + +[project.entry-points."paste.app_factory"] "main" = "wuttademo.web.app:main" -# [project.urls] -# Homepage = "https://example.com/" -# Repository = "https://github.com/example/wuttademo" -# Issues = "https://github.com/example/wuttademo/issues" -# Changelog = "https://github.com/example/wuttademo/blob/master/CHANGELOG.md" +[project.urls] +Homepage = "https://wuttaproject.org/" +Repository = "https://forgejo.wuttaproject.org/wutta/wutta-demo" +Issues = "https://forgejo.wuttaproject.org/wutta/wutta-demo/issues" +Changelog = "https://forgejo.wuttaproject.org/wutta/wutta-demo/src/branch/master/CHANGELOG.md" -# [tool.commitizen] -# version_provider = "pep621" -# tag_format = "v$version" -# update_changelog_on_bump = true +[tool.commitizen] +version_provider = "pep621" +tag_format = "v$version" +update_changelog_on_bump = true [tool.hatch.build.targets.wheel] -packages = ["wuttademo"] +packages = ["src/wuttademo"] diff --git a/wuttademo/__init__.py b/src/wuttademo/__init__.py similarity index 100% rename from wuttademo/__init__.py rename to src/wuttademo/__init__.py diff --git a/wuttademo/_version.py b/src/wuttademo/_version.py similarity index 100% rename from wuttademo/_version.py rename to src/wuttademo/_version.py diff --git a/wuttademo/commands.py b/src/wuttademo/commands.py similarity index 100% rename from wuttademo/commands.py rename to src/wuttademo/commands.py diff --git a/wuttademo/config.py b/src/wuttademo/config.py similarity index 100% rename from wuttademo/config.py rename to src/wuttademo/config.py diff --git a/wuttademo/db/__init__.py b/src/wuttademo/db/__init__.py similarity index 100% rename from wuttademo/db/__init__.py rename to src/wuttademo/db/__init__.py diff --git a/wuttademo/db/alembic/versions/b41448a639e6_add_wuttademo_branch.py b/src/wuttademo/db/alembic/versions/b41448a639e6_add_wuttademo_branch.py similarity index 100% rename from wuttademo/db/alembic/versions/b41448a639e6_add_wuttademo_branch.py rename to src/wuttademo/db/alembic/versions/b41448a639e6_add_wuttademo_branch.py diff --git a/wuttademo/db/model/__init__.py b/src/wuttademo/db/model/__init__.py similarity index 100% rename from wuttademo/db/model/__init__.py rename to src/wuttademo/db/model/__init__.py diff --git a/wuttademo/web/__init__.py b/src/wuttademo/web/__init__.py similarity index 100% rename from wuttademo/web/__init__.py rename to src/wuttademo/web/__init__.py diff --git a/wuttademo/web/app.py b/src/wuttademo/web/app.py similarity index 100% rename from wuttademo/web/app.py rename to src/wuttademo/web/app.py diff --git a/wuttademo/web/menus.py b/src/wuttademo/web/menus.py similarity index 100% rename from wuttademo/web/menus.py rename to src/wuttademo/web/menus.py diff --git a/wuttademo/web/static/__init__.py b/src/wuttademo/web/static/__init__.py similarity index 100% rename from wuttademo/web/static/__init__.py rename to src/wuttademo/web/static/__init__.py diff --git a/wuttademo/web/static/libcache/README b/src/wuttademo/web/static/libcache/README similarity index 100% rename from wuttademo/web/static/libcache/README rename to src/wuttademo/web/static/libcache/README diff --git a/wuttademo/web/subscribers.py b/src/wuttademo/web/subscribers.py similarity index 100% rename from wuttademo/web/subscribers.py rename to src/wuttademo/web/subscribers.py diff --git a/wuttademo/web/templates/base_meta.mako b/src/wuttademo/web/templates/base_meta.mako similarity index 100% rename from wuttademo/web/templates/base_meta.mako rename to src/wuttademo/web/templates/base_meta.mako diff --git a/wuttademo/web/views/__init__.py b/src/wuttademo/web/views/__init__.py similarity index 100% rename from wuttademo/web/views/__init__.py rename to src/wuttademo/web/views/__init__.py diff --git a/wuttademo/db/alembic/versions/__pycache__/b41448a639e6_add_wuttademo_branch.cpython-39.pyc b/wuttademo/db/alembic/versions/__pycache__/b41448a639e6_add_wuttademo_branch.cpython-39.pyc deleted file mode 100644 index 3070a5a..0000000 Binary files a/wuttademo/db/alembic/versions/__pycache__/b41448a639e6_add_wuttademo_branch.cpython-39.pyc and /dev/null differ