8fdd9a5db7
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Projektübersicht
python_template ist ein Python-Projekttemplate mit Standard-Verzeichnisstruktur und
Umgebungsverwaltung über bin/-Skripte. Es dient als Ausgangspunkt für neue Projekte
(die bin/-Skripte verwalten nur Umgebung und pip-Installation; sie rufen kein
konkretes Fachskript auf).
Projektstruktur
python_template/
├── bin/ # .bat-Skripte: setenv, install_py, manage_interpreter, get_cmd, dia
├── lib/ # Python-Quellcode (dia.py) + requirements.txt
├── cfg/ # Konfiguration
├── data/ # Daten
├── work/ # Arbeitsverzeichnis
└── log/ # Log-Dateien
Umgebungsvariablen (setenv)
setenv.bat setzt Projektvariablen (PROJECT, PV_BIN, PV_LIB, PV_CFG, PV_DATA,
PV_LOG …) und erweitert PYTHONPATH um lib/.
Setup
bin\install_py.bat
Legt die virtuelle Umgebung an und installiert lib/requirements.txt.