diff --git a/RELEASE.md b/RELEASE.md index a5a69af..9b8c47a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -45,9 +45,9 @@ Example `version` - Publish on PyPi: git clean -fxd - pip install flit - flit build - flit publish + pip install -U build twine wheel + python -m build --sdist --wheel + twine upload -s dist/* - Update `version` in `pyproject.toml`. diff --git a/pyproject.toml b/pyproject.toml index 5ec5c19..22ac6e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["flit_core >=3.7,<4"] -build-backend = "flit_core.buildapi" +requires = ["setuptools>=61.2"] +build-backend = "setuptools.build_meta" [project] name = "yaml2ics" @@ -18,7 +18,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ] -dynamic = ["description"] +description = "CLI to convert yaml into ics." dependencies = [ "ics == 0.8.0.dev0", @@ -37,9 +37,6 @@ yaml2ics = "yaml2ics:cli" Home = "https://github.com/scientific-python/yaml2ics" Source = "https://github.com/scientific-python/yaml2ics" -[tool.flit.sdist] -exclude = ["tests/*"] - [tool.ruff] line-length = 88 target-version = "py38"