Skip to content

Commit

Permalink
Introduction for pip install and windows (#293)
Browse files Browse the repository at this point in the history
* introduction for pip install and windows

* ignore build wheel for cp310 on musllinux because of frequency hangup

* skip cp39 on musllinux_aarch64, because of whell frquencey hangup
  • Loading branch information
graphenn committed Jan 11, 2024
1 parent 3c73198 commit 8f9dfdc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
python-version: [pp310, cp37, cp38, cp39, cp310, cp311, cp312]
exclude:
# pp310, cp37, cp38 on musllinux is not support
# cp39, cp310 on musllinux_aarch64, wheel building may hangup, ignore it
- buildplat: [ubuntu-22.04, musllinux_x86_64]
python-version: cp37
- buildplat: [ubuntu-22.04, musllinux_x86_64]
Expand All @@ -42,6 +43,10 @@ jobs:
python-version: cp37
- buildplat: [ubuntu-22.04, musllinux_aarch64]
python-version: cp38
- buildplat: [ubuntu-22.04, musllinux_aarch64]
python-version: cp39
- buildplat: [ubuntu-22.04, musllinux_aarch64]
python-version: cp310
- buildplat: [ubuntu-22.04, musllinux_aarch64]
python-version: pp310

Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,25 @@ for v in vcf('11:435345-556565'):
Installation
============

## pip (assuming you have htslib < 1.10 installed)
## pip with bundled htslib
```
pip install cyvcf2
```

## pip with system htslib

Assuming you have already built and installed htslib version 1.12 or higher.
```
CYVCF2_HTSLIB_MODE=EXTERNAL pip install --no-binary cyvcf2 cyvcf2
```

## windows (experimental, only test on MSYS2)

Assuming you have already built and installed htslib.
```
SETUPTOOLS_USE_DISTUTILS=stdlib pip install cyvcf2
```

## github (building htslib and cyvcf2 from source)

```
Expand Down

0 comments on commit 8f9dfdc

Please sign in to comment.