Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
serpy/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
23 lines (20 sloc)
879 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SerPy: The Python API for Serpent | |
The API for Serpent2. Currently, SerPy includes basic features to support interactions with MCNPy. | |
# Dependencies | |
- `py4j`. | |
- `h5py` | |
- `psutil` | |
- `numpy` | |
- `metapy` | |
- Everything else should come with a standard Python install | |
# How to Install | |
1. Clone the repository: `git clone https://github.rpi.edu/NuCoMP/serpy.git`. | |
2. Ensure you are running the desired Python environment. | |
- Try `conda activate ENV_NAME` to switch. | |
3. Run `pip install /path/to/cloned/repo/dist/serpy-X.whl` where `X` is the version. | |
- All dependencies *except* `metapy` will be downloaded if needed. | |
- `metapy` must be installed from the [metapy repository](https://github.rpi.edu/NuCoMP/metapy). | |
4. Done! | |
# Building a New Wheel | |
1. Use `pip uninstall serpy` to uninstall current version. | |
2. Run `python /path/to/cloned/repo/setup.py` to build the wheel. |