Skip to content

Commit

Permalink
Add initial pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Legrandin committed Sep 13, 2023
1 parent 8bdf635 commit 3314660
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,17 @@ jobs:
if: matrix.cffi == 'yes'
run: pip install cffi

- name: Install dependencies
- name: Install dependencies (testing only)
run: |
pip install pycryptodome-test-vectors
- name: Install package
run: |
pip install pycryptodome-test-vectors setuptools
pip install .
- name: Test
run: |
python setup.py test
python -m Crypto.SelfTest
build_python_27:
# GitHub Actions will not setup Python 2.7 since June 2023
Expand Down Expand Up @@ -101,13 +105,17 @@ jobs:
if: matrix.cffi == 'yes'
run: python -m pip install cffi

- name: Install dependencies
- name: Install dependencies (testing only)
run: |
python -m pip install pycryptodome-test-vectors
- name: Install package
run: |
python -m pip install .
- name: Test
run: |
python -bb setup.py test
python -m Crypto.SelfTest
mypy:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
import shutil
import struct

sys.path.append(os.getcwd())

from compiler_opt import set_compiler_options


Expand Down

0 comments on commit 3314660

Please sign in to comment.