Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1 KB

README.md

File metadata and controls

56 lines (37 loc) · 1 KB

bamread

Read bam files quickly into dataframes in Python

Development

Development

See How to Publish an Open-Source Python Package to PyPI

Install

pip install -e .  # -e flag means editing affects the installed package

Create sdist and wheel (requires build)

python -m build

Check whether the package archives look fine:

twine check dist/*

Upload to PyPI test server

twine upload -r testpypi dist/*

Chek that the package can be installed from the test server

python -m pip install -i https://test.pypi.org/simple bamread
python -c "import bamread; print(bamread.read_bam('Some.bam'))"

Upload to pypi

twine upload -r testpypi dist/*

Run github actions locally

See act

act -l # list available jobs
act -j <job> # run a job
act pull_request # run jobs triggered upon pull_request