n-west/bliss

Automate releases

Closed this issue · 1 comments

from CI, and also make it easy to build something that can be pip-installed on data center systems

Binary distributions will be on hold until I can figure out and get more value from the manylinux stuff with pypi...

However the following works to build a release, and push the sdist to testpypi:

python -m build
python3 -m twine upload --repository testpypi dist/*.tar.gz

Then, this works to build the dist (tested that import bliss works)

conda create bliss-testdist python=3.8
conda config --add channels conda-forge 

conda install gxx cmake hdf5 bitshuffle hdf5-external-filter-plugins

export  HDF5_ROOT=/home/nwest/.conda/envs/bliss38-test/
. /usr/local/cuda-11.7.1/cuda.sh
export TEMP=/datax/scratch/nwest/tmp
export CPATH=/home/nwest/.conda/envs/bliss-testdist/include/

HDF5_ROOT is a bug with find hdf5 cmake and conda envs
The TEMP setting is an artifact of blpc datacenter
See #26 for the CPATH issue

pypi has another project named bliss and many projects with variations on bliss. Think through a different more unique name...