Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a cythonize-nodeps target for downstreams
Add a `cythonize-nodeps` target that can be used by downstreams
who wish to re-Cythonize files and have provided the necessary
dependencies externally.  Calling `pip` is undesirable, as it causes
sandbox violations.
  • Loading branch information
mgorny committed Jan 29, 2025
commit ee61a6488451c738b2d07231b54c9f3702a1526c
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ generate-llhttp: .llhttp-gen
.PHONY: cythonize
cythonize: .install-cython $(PYXS:.pyx=.c) aiohttp/_websocket/reader_c.c

.PHONY: cythonize-nodeps
cythonize-nodeps: $(PYXS:.pyx=.c) aiohttp/_websocket/reader_c.c

.install-deps: .install-cython $(PYXS:.pyx=.c) aiohttp/_websocket/reader_c.c $(call to-hash,$(CYS) $(REQS))
@python -m pip install -r requirements/dev.in -c requirements/dev.txt
@touch .install-deps
Expand Down
Loading