build(python): simplify rpycdec vendor layout
This commit was merged in pull request #17.
This commit is contained in:
21
third_party/python/rpycdec/Makefile
vendored
Normal file
21
third_party/python/rpycdec/Makefile
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
PYTHON ?= python
|
||||
RUFF ?= ruff
|
||||
|
||||
.PHONY: wheels release test lint format
|
||||
|
||||
wheels:
|
||||
$(PYTHON) -m build --wheel
|
||||
|
||||
release:
|
||||
twine upload dist/*
|
||||
|
||||
test:
|
||||
$(PYTHON) -m unittest discover -s tests
|
||||
|
||||
lint:
|
||||
$(RUFF) check .
|
||||
$(RUFF) format --check .
|
||||
|
||||
format:
|
||||
$(RUFF) check . --fix
|
||||
$(RUFF) format .
|
||||
Reference in New Issue
Block a user