Spaces:
Build error
Build error
Download Makefile from mantisnlp/MeshTagger: direct link, hf CLI and curl.
- Browser
- Download file 874 Bytes
-
https://huggingface.co/spaces/mantisnlp/MeshTagger/resolve/main/Makefile
- Command line
-
hf download hf://spaces/mantisnlp/MeshTagger/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/mantisnlp/MeshTagger/resolve/main/Makefile
874 Bytes
| PYTHON_VERSION = python3.10 | |
| VIRTUALENV := .venv | |
| virtualenv: | |
| @if [ -d $(VIRTUALENV) ]; then rm -rf $(VIRTUALENV); fi | |
| @mkdir -p $(VIRTUALENV) | |
| virtualenv --python $(PYTHON_VERSION) $(VIRTUALENV) | |
| $(VIRTUALENV)/bin/pip3 install --upgrade pip | |
| $(VIRTUALENV)/bin/pip3 install --upgrade -r requirements.txt | |
| update-requirements-txt: VIRTUALENV := /tmp/update-requirements-virtualenv | |
| update-requirements-txt: | |
| @if [ -d $(VIRTUALENV) ]; then rm -rf $(VIRTUALENV); fi | |
| @mkdir -p $(VIRTUALENV) | |
| virtualenv --python $(PYTHON_VERSION) $(VIRTUALENV) | |
| $(VIRTUALENV)/bin/pip3 install --upgrade pip | |
| $(VIRTUALENV)/bin/pip3 install --upgrade -r unpinned_requirements.txt | |
| echo "# Created by 'make update-requirements-txt'. DO NOT EDIT!" > requirements.txt | |
| $(VIRTUALENV)/bin/pip freeze | grep -v pkg_resources==0.0.0 >> requirements.txt | |