Skip to content

Commit

Permalink
setup extras fix
Browse files Browse the repository at this point in the history
  • Loading branch information
e3rd committed Oct 14, 2024
1 parent 61c4318 commit b7cab63
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", 3.11, 3.12]
python-version: ["3.10", 3.11, 3.12, 3.13]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,7 +26,7 @@ jobs:
run: pip uninstall python-magic -y
- name: Test libmagic missing
id: should_fail
run: python3 tests.py TestMime.test_libmagic
run: python3 test_.py TestMime.test_libmagic
continue-on-error: true
- name: Check on failures
if: steps.should_fail.outcome != 'failure'
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
jsonpickle
python-magic
python-gnupg>=0.5
py3-validate-email
cryptography>=43
py3-validate-email
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
long_description_content_type="text/markdown",
install_requires=install_requires,
extras_require={
"smime": "M2Crypto", # need to have: `sudo apt install swig`
"cryptography": "cryptography>=43" # need to have `pip install cryptography`
"smime": ["M2Crypto", # need to have: `sudo apt install swig`
"cryptography>=43"]
},
entry_points={
'console_scripts': [
Expand Down

0 comments on commit b7cab63

Please sign in to comment.