Skip to content

Commit f0d3c9d

Browse files
committed
Fix package name
1 parent 3706992 commit f0d3c9d

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
pip install flit
31-
flit install
30+
pip install ".[test]"
3231
3332
- name: Lint
3433
run: pre-commit run --all-files --show-diff-on-failure --color always

lazy_loader/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
lazy_loader
3+
===========
4+
5+
Makes it easy to load subpackages and functions on demand.
6+
"""
17
import importlib
28
import importlib.util
39
import types

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["flit_core >=3.3,<4"]
33
build-backend = "flit_core.buildapi"
44

55
[project]
6-
name = "lazy-loader"
6+
name = "lazy_loader"
77
version = "0.1rc1"
88
requires-python = ">=3.8"
99
authors = [{name = "The Scientific Python Group"}]
@@ -13,6 +13,9 @@ classifiers = ["License :: OSI Approved :: BSD License"]
1313
dynamic = ["description"]
1414

1515
[project.optional-dependencies]
16+
dev = [
17+
"flit"
18+
]
1619
test = [
1720
"pytest",
1821
"black",

0 commit comments

Comments
 (0)