Skip to content

Commit

Permalink
add prereqs (swig) to pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
msetina committed Apr 3, 2024
1 parent eb20b72 commit e085476
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
- name: setup prerequisites (linux)
shell: bash
run: sudo apt install swig
- name: Install build tools
run: pip install --upgrade build setuptools pip wheel
- name: Build release artifacts
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup prerequisites (linux)
shell: bash
run: sudo apt install swig
- uses: jpetrucciani/[email protected]
with:
path: pkcs11_cryptography_keys
Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[build-system]
requires = [
"setuptools>=67.4",
"wheel"
"wheel",
"swig"
]
build-backend = "setuptools.build_meta"

Expand All @@ -16,20 +17,20 @@ keywords = [
"pkcs11",
]
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 3 - Alpha",
"Intended Audience :: Information Technology",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.10"
dependencies = [
"swig>=4.2.0",
dependencies = [
"PyKCS11>=1.5.11",
"cryptography>=42.0.5",
"asn1crypto>=1.5.1"
Expand Down

0 comments on commit e085476

Please sign in to comment.