Create conda environment:
conda env create -f environment.yml -yBump the version using hatch. See the docs on hatch-nodejs-version for details.
NEW_VERSION='NEW_VERSION'
hatch version $NEW_VERSION
git add --all
git commit -m "Version $NEW_VERSION"The previous command will update the version in the package.json file. You have to manually commit and create the tag:
git tag -a $NEW_VERSION -m "Version $NEW_VERSION"
git push
git push --tagTo create a Python source package (.tar.gz) and the binary package (.whl) in the dist/ directory, do:
Note: The following command needs NodeJS:
# clean files before building
rm -rf dist
jlpm clean:all
# build the package
python -m buildThen to upload the package to PyPI, do:
twine upload dist/*