Skip to content

Commit

Permalink
feat: brotli install and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Lindahl committed Aug 29, 2024
1 parent 711edda commit 2a15836
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
os: [ubuntu-latest]
EXTRA: [false] # used to force includes to get included
include:
- python-version: '3.12'
EXTRA: true
NOTALL: true
- python-version: '3.11'
os: macos-latest
EXTRA: true
Expand Down Expand Up @@ -40,8 +43,12 @@ jobs:
run: |
pip install setuptools
- name: Install warcio
- name: Install warcio ALL
if: ${{ ! NOTALL }}
run: pip install .[testing]
- name: Install warcio NOTALL
if: ${{ NOTALL }}
run: pip install .[brotli,testing]

- name: Run tests
run: python -m pytest
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ web archives. Supports Python 2.7+ and Python 3.4+ (using
warcio supports reading and writing of WARC files compliant with both the `WARC 1.0 <http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf>`__
and `WARC 1.1 <http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1-1_latestdraft.pdf>`__ ISO standards.

Install with: ``pip install warcio``
Install with: ``pip install warcio`` (or ``pip install warcio[all]`` to get optional features)

This library is a spin-off of the WARC reading and writing component of
the `pywb <https://github.com/webrecorder/pywb>`__ high-fidelity replay
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
'requests',
'wsgiprox',
'hookdns',
],
'all': [
'brotlipy',
]
},
classifiers=[
Expand Down

0 comments on commit 2a15836

Please sign in to comment.