mirror of
https://github.com/emmett-framework/granian.git
synced 2025-07-07 11:25:36 +00:00
Minor clean
This commit is contained in:
parent
1dfd2379c2
commit
a8cd23c89e
2 changed files with 4 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ pysources = granian tests
|
|||
build-dev:
|
||||
@rm -f granian/*.so
|
||||
uv sync --group all
|
||||
maturin develop
|
||||
maturin develop --uv
|
||||
|
||||
.PHONY: format
|
||||
format:
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from .._granian import BUILD_GIL
|
||||
from .mp import MPServer as MPServer
|
||||
from .mt import MTServer as MTServer
|
||||
|
||||
|
||||
if BUILD_GIL:
|
||||
from .mp import MPServer as Server
|
||||
else:
|
||||
from .mt import MTServer as Server # noqa: F401
|
||||
Server = MPServer if BUILD_GIL else MTServer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue