DIRACWebAppResources
contains static resources used by WebAppDIRAC
.
It primarily exists to reduce the size of WebAppDIRAC
releases by avoiding the need to duplicate about 128MB (36MB compressed) of files between every release.
You likely don't need to know about this package and should read about WebAppDIRAC instead.
- Switch back to using
package_data
instead ofdata_files
for distributing assets
- Initial release
New releases can be made by making the following steps:
Update the
DIRACWebAppResources/WebApp/static
directory by running:docker run --rm \ -v=$PWD:/opt -w=/opt \ "-u=$(id -u):$(id -g)" diracgrid/dirac-distribution:latest \ /dirac-webapp-compile.py -D=/opt/src -n=DIRACWebAppResources --py3-style
Bump the version in
setup.cfg
and update the changelog inREADME.rst
.Commit your changes, create a tag and push:
git add -p setup.cfg README.rst git commit -m "Update to $VERSION" git push --tags
Build the package for upload to PyPI:
python -m build
Upload the new release to PyPI:
twine upload dist/DIRACWebAppResources-VERSION*