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_datainstead ofdata_filesfor distributing assets
- Initial release
New releases can be made by making the following steps:
Update the
DIRACWebAppResources/WebApp/staticdirectory 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-styleBump the version in
setup.cfgand 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 --tagsBuild the package for upload to PyPI:
python -m build
Upload the new release to PyPI:
twine upload dist/DIRACWebAppResources-VERSION*