File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ Example `version`
4545- Publish on PyPi:
4646
4747 git clean -fxd
48- pip install flit
49- flit build
50- flit publish
48+ pip install -U build twine wheel
49+ python -m build --sdist --wheel
50+ twine upload -s dist/*
5151
5252- Update ` version ` in ` pyproject.toml ` .
5353
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" flit_core >=3.8,<4 " ]
3- build-backend = " flit_core.buildapi "
2+ requires = [" setuptools>=61.2 " ]
3+ build-backend = " setuptools.build_meta "
44
55[project ]
66name = " lazy_loader"
@@ -20,8 +20,7 @@ classifiers = [
2020 " Programming Language :: Python :: 3.11" ,
2121 " Programming Language :: Python :: 3.12" ,
2222]
23- dynamic = [" description" ]
24-
23+ description = " Makes it easy to load subpackages and functions on demand."
2524
2625[project .optional-dependencies ]
2726test = [" pytest >= 7.4" , " pytest-cov >= 4.1" ]
@@ -31,9 +30,6 @@ lint = ["pre-commit >= 3.3"]
3130Home = " https://scientific-python.org/specs/spec-0001/"
3231Source = " https://github.com/scientific-python/lazy_loader"
3332
34- [tool .flit .sdist ]
35- exclude = [" tests/*" ]
36-
3733[tool .ruff ]
3834line-length = 88
3935target-version = " py37"
You can’t perform that action at this time.
0 commit comments