Skip to content

Commit

Permalink
Create cloud_enum.install
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r authored Feb 12, 2025
1 parent 5a09e3a commit 12e1086
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/cloud_enum/cloud_enum.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
post_install() {
set -e
cd /usr/share/cloud_enum
python -m venv venv
source venv/bin/activate &&
pip install --isolated --root="/usr/share/cloud_enum" --prefix='venv' \
-r requirements.txt
pip install -e .
}

post_upgrade() {
post_install "$@"
}

post_remove() {
# /usr/share/cloud_enum/venv
rm -r /usr/share/cloud_enum
}

0 comments on commit 12e1086

Please sign in to comment.