Xwakes version 0.1.0
This repository contains the package that was previously hosted at https://gitlab.cern.ch/IRIS/pywit
Changes with respect to original repository:
- Main package renamed from PyWIT to Xwakes.
- Package published in PyPI (https://pypi.org/project/xwakes/)
- Content originally under
pywit
moved toxwakes.wit
.pywit
is kept as alias ofxwakes.wit
for backward compatibility.
- Add
xwakes/wit/materials.json
to MANIFEST, so that the file is copied when installing with pip. - Create new
setup.py
identical to other Xsuite ones.- Dependencies and test dependences checked
pywit
folder in the user's home is not created on installation but can be optionally created by runningpython -c 'import xwakes; xwakes.initialize_pywit_directory()
. This is required only for using the IW2D interface. (README file updated accordingly).
- Add
release.sh
script to make releases in PyPI. - Add Apache 2 license file (no change in conditions compared to license file in PyWIT, just a bit more explicit).
- Existing CI workflow made compatible with GitHub and is now triggered automatically when a PR is created. This has been tested (tests are passing).
- Tests involving IW2D are skipped by pytest when IW2D is not installed.
- Only minor modifications to the code itself, namely:
Full Changelog: v0.0.3...v0.1.0