Spaces:
Running
Running
siddhm11
Claude Opus 5.5
build: pin every dependency in constraints.txt, generated by make lock
8c95db8 Download Makefile from siddhm11/ResearchIT: direct link, hf CLI and curl.
- Browser
- Download file 818 Bytes
-
https://huggingface.co/spaces/siddhm11/ResearchIT/resolve/main/Makefile
- Command line
-
hf download hf://spaces/siddhm11/ResearchIT/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/siddhm11/ResearchIT/resolve/main/Makefile
818 Bytes
| PYTHON ?= python3 | |
| install: | |
| $(PYTHON) -m pip install -r requirements-dev.txt | |
| run: | |
| $(PYTHON) run.py | |
| dev: | |
| DEV_RELOAD=1 $(PYTHON) run.py | |
| test: | |
| $(PYTHON) -m pytest tests/ -m "not live" -q | |
| test-live: | |
| $(PYTHON) -m pytest tests/ -m live -v | |
| check: | |
| $(PYTHON) -m compileall -q app scripts tests | |
| $(PYTHON) -m pytest tests/ -m "not live" -q | |
| # Re-pin constraints.txt (the exact versions the Docker image installs) after | |
| # editing requirements.txt. Resolves for the Space's platform, not this machine. | |
| lock: | |
| uv pip compile requirements.txt --python-version 3.12 \ | |
| --python-platform x86_64-unknown-linux-gnu \ | |
| --extra-index-url https://download.pytorch.org/whl/cpu \ | |
| --index-strategy unsafe-best-match \ | |
| --custom-compile-command "make lock" -o constraints.txt | |