Skip to content

Commit 016c5de

Browse files
committed
CCM-12896: Remove venv
1 parent 42b49b4 commit 016c5de

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/pydantic-model-generator/Makefile

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,28 @@ SCHEMA_SRC_DIR := ../../schemas/digital-letters/2025-10-draft/events
33
OUTPUT_DIR := ../digital-letters-events-python/models
44
SCRIPTS_DIR := scripts
55

6-
# Python settings
7-
VENV_DIR := ../../.venv
8-
VENV_PYTHON := $(VENV_DIR)/bin/python
9-
VENV_PIP := $(VENV_DIR)/bin/pip
10-
116
# Default target
127
.PHONY: all clean generate install install-dev test coverage help
138

149
all: generate
1510

16-
# Install production dependencies (uses repo-level venv)
11+
# Install production dependencies
1712
install:
1813
@echo "Installing production dependencies..."
19-
@$(VENV_PIP) install -r requirements.txt
14+
@pip install -r requirements.txt
2015
@echo "Production dependencies installed!"
2116

22-
# Install development dependencies (uses repo-level venv)
17+
# Install development dependencies
2318
install-dev:
2419
@echo "Installing development dependencies..."
25-
@$(VENV_PIP) install -r requirements-dev.txt
20+
@pip install -r requirements-dev.txt
2621
@echo "Development dependencies installed!"
2722

2823
# Generate Pydantic models from JSON schemas
2924
generate: install
3025
@echo "Generating Pydantic models from JSON schemas..."
3126
@mkdir -p $(OUTPUT_DIR)
32-
@$(VENV_PYTHON) $(SCRIPTS_DIR)/generate_models.py \
27+
@python $(SCRIPTS_DIR)/generate_models.py \
3328
--input-dir $(SCHEMA_SRC_DIR) \
3429
--output-dir $(OUTPUT_DIR)
3530
@echo "Pydantic models generated in $(OUTPUT_DIR)/"

0 commit comments

Comments
 (0)