mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 06:22:16 +00:00
prepare-virtualenv, cleaning
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
find . -name "*.egg-info" -exec rm -rf {} +
|
||||
find . -name __pycache__ -exec rm -rf {} +
|
||||
|
||||
# deactivate
|
||||
rm -rf venv
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
|
||||
pip install -U pip wheel setuptools
|
||||
|
||||
pip install -e .
|
||||
pip install -e modules/http_host
|
||||
pip install -e modules/tile_gen
|
||||
pip install -e modules/loadbalancer
|
||||
find . -name '*.egg-info' -type d -prune -exec rm -rf {} +
|
||||
find . -name '*.pyc' -delete
|
||||
find . -name __pycache__ -type d -prune -exec rm -rf {} +
|
||||
find . -name .DS_Store -delete
|
||||
find . -name .ipynb_checkpoints -exec rm -rf {} +
|
||||
find . -name .pytest_cache -exec rm -rf {} +
|
||||
find . -name .ruff_cache -exec rm -rf {} +
|
||||
find . -name .venv -type d -prune -exec rm -rf {} +
|
||||
find . -name venv -type d -prune -exec rm -rf {} +
|
||||
|
||||
|
||||
uv venv --python=3.12
|
||||
source .venv/bin/activate
|
||||
|
||||
|
||||
uv pip install -e .
|
||||
uv pip install -e modules/http_host
|
||||
uv pip install -e modules/tile_gen
|
||||
uv pip install -e modules/loadbalancer
|
||||
|
||||
Reference in New Issue
Block a user