Skip to content

Commit

Permalink
Build python on ubuntu and rocky
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Nov 11, 2024
1 parent c2a6bed commit 8807b94
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions custom/testing/golden-state-tree/os/ubuntu/init.sls
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include:
- .config
- .pkgs
- python
4 changes: 1 addition & 3 deletions custom/testing/golden-state-tree/python/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
{%- endif %}

include:
{%- if grains['os'] == 'Rocky' %}
- ./rocky_dependencies
{%- endif %}
- ./{{ grains['os'].lower() }}_dependencies

python_source_archive:
file.managed:
Expand Down
16 changes: 16 additions & 0 deletions custom/testing/golden-state-tree/python/ubuntu_dependencies.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
python_dependencies:
pkg.latest:
- pkgs:
- gcc
- make
- libssl-dev
- libffi-dev
- libbz2-dev
- libgdbm-dev
- liblzma-dev
- uuid-dev
- libreadline-dev
- libncurses-dev
- libsqlite3-dev
- zlib1g-dev
- libgdbm-compat-dev

0 comments on commit 8807b94

Please sign in to comment.