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`
45
45
- Publish on PyPi:
46
46
47
47
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/*
51
51
52
52
- Update ` version ` in ` pyproject.toml ` .
53
53
Original file line number Diff line number Diff line change 1
1
[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 "
4
4
5
5
[project ]
6
6
name = " lazy_loader"
@@ -20,8 +20,7 @@ classifiers = [
20
20
" Programming Language :: Python :: 3.11" ,
21
21
" Programming Language :: Python :: 3.12" ,
22
22
]
23
- dynamic = [" description" ]
24
-
23
+ description = " Makes it easy to load subpackages and functions on demand."
25
24
26
25
[project .optional-dependencies ]
27
26
test = [" pytest >= 7.4" , " pytest-cov >= 4.1" ]
@@ -31,9 +30,6 @@ lint = ["pre-commit >= 3.3"]
31
30
Home = " https://scientific-python.org/specs/spec-0001/"
32
31
Source = " https://github.com/scientific-python/lazy_loader"
33
32
34
- [tool .flit .sdist ]
35
- exclude = [" tests/*" ]
36
-
37
33
[tool .ruff ]
38
34
line-length = 88
39
35
target-version = " py37"
You can’t perform that action at this time.
0 commit comments