Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
fix: maturin build config
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGlassBlock committed Apr 2, 2023
1 parent 5c54f69 commit 5bf2b31
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
12 changes: 11 additions & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ dependencies = [
dynamic = ["version"]

[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=0.14.16,<0.15"]
build-backend = "maturin"

[tool.maturin]
python-source = "python"
name = "ichika.core"
module-name = "ichika.core"

[tool.black]
line-length = 120
Expand Down Expand Up @@ -113,6 +113,10 @@ docs = [
"sphinx-autodoc2>=0.4.2",
"furo>=2023.3.27",
]
dev = [
"maturin>=0.14.16",
"pip>=23.0.1",
]
[tool.pdm.scripts]
develop.cmd = "maturin develop"
view-docs.cmd = "sphinx-autobuild docs build --watch ./docs --watch ./python --ignore ./docs/api/**"
Expand Down
8 changes: 4 additions & 4 deletions python/ichika/core/__init__.pyi → python/ichika/core.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ from typing_extensions import Any, TypeAlias

from ichika.message.elements import MusicShare

from ..client import Client
from ..login import (
from . import events as events
from .client import Client
from .login import (
BaseLoginCredentialStore,
PasswordLoginCallbacks,
QRCodeLoginCallbacks,
)
from ..message._sealed import SealedAudio as _SealedAudio
from . import events as events
from .message._sealed import SealedAudio as _SealedAudio

__version__: str
__build__: Any
Expand Down

0 comments on commit 5bf2b31

Please sign in to comment.