Skip to content

Commit

Permalink
Use setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jul 2, 2023
1 parent 477184d commit 3d4dfcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
9 changes: 3 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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",
Expand All @@ -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"
Expand Down

0 comments on commit 3d4dfcc

Please sign in to comment.