Python package to manage the Java Server and automated wrapping functions required for metamodel-driven APIs like MCNPy and Serpy.
On its own, this package does very little. It manages basic utilities required for other packages. Thus, you will likely never invoke it directly.
py4j.psutil- Java 8
- Everything else should come with a standard Python install
- Clone the repository:
git clone https://github.rpi.edu/NuCoMP/metapy.git. - Ensure you are running the desired Python environment.
- Try
conda activate ENV_NAMEto switch.
- Try
- Run
pip install /path/to/cloned/repo/dist/metapy-X.whlwhereXis the version.- All dependencies except Java will be downloaded if needed.
- Done!
- Use
pip uninstall metapyto uninstall current version. - Run
python /path/to/cloned/repo/setup.pyto build the wheel.
After any changes to the EntryPoint.java source file, you must recompile the Java server. From within /path/to/cloned/repo/metapy, run:
bash compile.sh(Linux)compile.bat(Windows)