Skip to content

Commit

Permalink
fix: shore up python packages install
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Nov 4, 2024
1 parent ba7a295 commit b6fb3d2
Show file tree
Hide file tree
Showing 37 changed files with 19 additions and 36 deletions.
2 changes: 2 additions & 0 deletions sift/python-packages/appcompatprocessor.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include:
- sift.packages.python2-pip
- sift.packages.libregf
- sift.packages.python2-dev
- sift.python-packages.setuptools

appcompatprocessor:
pip.installed:
Expand All @@ -17,3 +18,4 @@ appcompatprocessor:
- sls: sift.packages.python2-pip
- sls: sift.packages.libregf
- sls: sift.packages.python2-dev
- sls: sift.python-packages.setuptools
2 changes: 2 additions & 0 deletions sift/python-packages/argparse.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.setuptools

sift-python-packages-argparse:
pip.installed:
Expand All @@ -9,3 +10,4 @@ sift-python-packages-argparse:
- upgrade: True
- require:
- sls: sift.packages.python2-pip
- sls: sift.python-packages.setuptools
3 changes: 2 additions & 1 deletion sift/python-packages/bitstring.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.setuptools

sift-python-packages-bitstring:
pip.installed:
Expand All @@ -9,3 +9,4 @@ sift-python-packages-bitstring:
- upgrade: True
- require:
- sls: sift.packages.python2-pip
- sls: sift.python-packages.setuptools
1 change: 0 additions & 1 deletion sift/python-packages/capstone.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-pkg-remove:
Expand Down
3 changes: 2 additions & 1 deletion sift/python-packages/colorama.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.setuptools

sift-python-packages-colorama:
pip.installed:
Expand All @@ -9,3 +9,4 @@ sift-python-packages-colorama:
- upgrade: True
- require:
- sls: sift.packages.python2-pip
- sls: sift.python-packages.setuptools
5 changes: 3 additions & 2 deletions sift/python-packages/construct.sls
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.setuptools

sift-python-packages-construct:
pip.installed:
- name: construct == 2.10.54
- name: construct == 2.10.54 # note: pinned due to volatility2
- bin_env: /usr/bin/python2
- upgrade: True
- require:
- sls: sift.packages.python2-pip
- sls: sift.python-packages.setuptools
3 changes: 2 additions & 1 deletion sift/python-packages/distorm3.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.packages.python2-dev
- sift.python-packages.setuptools

sift-python-packages-distorm3:
pip.installed:
Expand All @@ -10,3 +10,4 @@ sift-python-packages-distorm3:
- require:
- sls: sift.packages.python2-pip
- sls: sift.packages.python2-dev
- sls: sift.python-packages.setuptools
3 changes: 2 additions & 1 deletion sift/python-packages/docopt.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.setuptools

sift-python-packages-docopt:
pip.installed:
Expand All @@ -9,3 +9,4 @@ sift-python-packages-docopt:
- upgrade: True
- require:
- sls: sift.packages.python2-pip
- sls: sift.python-packages.setuptools
1 change: 0 additions & 1 deletion sift/python-packages/dpapick.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

include:
- sift.packages.libssl-dev
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.m2crypto

Expand Down
3 changes: 2 additions & 1 deletion sift/python-packages/geoip2.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.setuptools

sift-python-packages-geoip2:
pip.installed:
Expand All @@ -9,3 +9,4 @@ sift-python-packages-geoip2:
- upgrade: True
- require:
- sls: sift.packages.python2-pip
- sls: sift.python-packages.setuptools
1 change: 0 additions & 1 deletion sift/python-packages/indxparse.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ include:
- sift.packages.g++
- sift.packages.libfuse-dev
- sift.packages.pkg-config
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.packages.python2-dev
- sift.packages.python-wxgtk3
Expand Down
3 changes: 2 additions & 1 deletion sift/python-packages/ioc_writer.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.lxml
- sift.python-packages.setuptools

sift-python-packages-ioc-writer:
pip.installed:
Expand All @@ -11,4 +11,5 @@ sift-python-packages-ioc-writer:
- require:
- sls: sift.packages.python2-pip
- sls: sift.python-packages.lxml
- sls: sift.python-packages.setuptools

1 change: 0 additions & 1 deletion sift/python-packages/lxml.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.packages.libxml2-dev
- sift.packages.libxslt-dev
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/m2crypto.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.packages.swig
- sift.packages.python2-dev
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/ntdsxtract.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include:
- sift.packages.git
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-ntdsxtract:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/openpyxl.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include:
- sift.packages.python2-pip
- sift.packages.python3-pip

openpyxl==2.1.2:
pip.installed:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/pefile.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-pefile:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/pillow.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include:
- sift.packages.python2-pip
- sift.packages.python3-pip

sift-python-packages-pillow:
pip.installed:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/poster.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-poster:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/pycoin.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Note: not included in init.sls, only required by python-volatility

include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-pycoin:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/pycrypto.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This package is only required for volatility, so it is not included in the init.sls

include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-pycrypto:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/pydasm.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include:
- sift.packages.git
- sift.packages.python3-pip
- sift.packages.python2-pip

pydasm:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/pysocks.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-pysocks:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/python-dateutil.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-python-dateutil:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/python-magic.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-python-magic:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/python-registry.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-python-registry:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/requests.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-requests:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/s2sphere.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-s2sphere:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/shellbags.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

include:
- sift.packages.git
- sift.packages.python3-pip
- sift.packages.python2-pip

shellbags:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/simplejson.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Note: not included in init.sls, only required by python-volatility

include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-simplejson:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/six.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-six:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/unicodecsv.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-unicodecsv:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/usnparser.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-usnparser:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/volatility.sls
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

include:
- sift.packages.git
- sift.packages.python3-pip
- sift.packages.python2-pip
- sift.python-packages.colorama
- sift.python-packages.construct
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/wheel.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-wheel:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/windowsprefetch.sls
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-windowsprefetch:
Expand Down
1 change: 0 additions & 1 deletion sift/python-packages/yara-python.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Note: not included in init.sls, only required by python-volatility

include:
- sift.packages.python3-pip
- sift.packages.python2-pip

sift-python-packages-yara-python:
Expand Down

0 comments on commit b6fb3d2

Please sign in to comment.