re-organize some of the project structure
This commit is contained in:
@@ -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
2
requirements-raw.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
ansible
|
||||
ansible-lint
|
||||
@@ -1,2 +1,30 @@
|
||||
ansible
|
||||
ansible-lint
|
||||
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
|
||||
|
||||
@@ -41,13 +41,13 @@ create_virtualenv() {
|
||||
# function to install python requirements
|
||||
install_requirements() {
|
||||
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
|
||||
pip install --upgrade pip
|
||||
if [ -f "requirements-freeze.txt" ]; then
|
||||
pip install -r requirements-freeze.txt
|
||||
if [ -f "requirements.txt" ]; then
|
||||
pip install -r requirements.txt
|
||||
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
|
||||
deactivate
|
||||
}
|
||||
Reference in New Issue
Block a user