bnprks / BPCells

Scaling Single Cell Analysis to Millions of Cells
https://bnprks.github.io/BPCells
Other
166 stars 17 forks source link

Python PyPI deploy setup #121

Closed bnprks closed 1 week ago

bnprks commented 2 months ago

This is a large set of changes, described below with a summary of per-file changes. The end result is that can build and deploy a very basic BPCells package to PyPI across Mac, Linux and Windows (and ensure tests pass before deploy). There are also several docs updates to help add a Python section to the documentation website

Deploy to PyPI:

Updated docs:

Misc changes:

bnprks commented 2 months ago

I consolidated to a single linux/mac script to build dependencies from source, then switched to recommending that in DEVELOP.md for a simpler (albeit slower) setup process.

Also made a few changes in the actions workflow to change how caching the dependencies would work, and after much trial and error it seems to be functional again.