re-organize some of the project structure

This commit is contained in:
2025-11-07 16:30:06 +01:00
parent 581422f899
commit 8d8ca0ef52
4 changed files with 36 additions and 36 deletions

View File

@@ -1,30 +0,0 @@
ansible==11.1.0
ansible-compat==24.10.0
ansible-core==2.18.1
ansible-lint==24.12.2
attrs==24.3.0
black==24.10.0
bracex==2.5.post1
cffi==1.17.1
click==8.1.8
cryptography==44.0.0
filelock==3.16.1
importlib_metadata==8.5.0
Jinja2==3.1.5
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
MarkupSafe==3.0.2
mypy-extensions==1.0.0
packaging==24.2
pathspec==0.12.1
platformdirs==4.3.6
pycparser==2.22
PyYAML==6.0.2
referencing==0.35.1
resolvelib==1.0.1
rpds-py==0.22.3
ruamel.yaml==0.18.6
subprocess-tee==0.4.2
wcmatch==10.0
yamllint==1.35.1
zipp==3.21.0

2
requirements-raw.txt Normal file
View File

@@ -0,0 +1,2 @@
ansible
ansible-lint

View File

@@ -1,2 +1,30 @@
ansible ansible==11.1.0
ansible-lint ansible-compat==24.10.0
ansible-core==2.18.1
ansible-lint==24.12.2
attrs==24.3.0
black==24.10.0
bracex==2.5.post1
cffi==1.17.1
click==8.1.8
cryptography==44.0.0
filelock==3.16.1
importlib_metadata==8.5.0
Jinja2==3.1.5
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
MarkupSafe==3.0.2
mypy-extensions==1.0.0
packaging==24.2
pathspec==0.12.1
platformdirs==4.3.6
pycparser==2.22
PyYAML==6.0.2
referencing==0.35.1
resolvelib==1.0.1
rpds-py==0.22.3
ruamel.yaml==0.18.6
subprocess-tee==0.4.2
wcmatch==10.0
yamllint==1.35.1
zipp==3.21.0

View File

@@ -41,13 +41,13 @@ create_virtualenv() {
# function to install python requirements # function to install python requirements
install_requirements() { install_requirements() {
check_command "pip" check_command "pip"
echo -e "${BLUE}installing python requirements from requirements-freeze.txt...${NC}" echo -e "${BLUE}installing python requirements from requirements.txt...${NC}"
source $VENV_DIR/bin/activate source $VENV_DIR/bin/activate
pip install --upgrade pip pip install --upgrade pip
if [ -f "requirements-freeze.txt" ]; then if [ -f "requirements.txt" ]; then
pip install -r requirements-freeze.txt pip install -r requirements.txt
else else
echo -e "${YELLOW}requirements-freeze.txt not found. skipping python requirements installation.${NC}" echo -e "${YELLOW}requirements.txt not found. skipping python requirements installation.${NC}"
fi fi
deactivate deactivate
} }