OASYS2-ESRF-Extensions
OASYS2 extensions for the ESRF
This repository contains extensions to Oasys developed at ESRF.
Install as user
To install the add-on as user:
- In the Oasys window, open "Options->Add-ons..."
- click the button "Add more" and enter "OASYS2-ESRF-Extensions". You will see a new entry "ESRFExtensions" in the add-on list. Check it and click "OK"
- Restart Oasys.
Once it is installed, it should populate the widget bar on the side.
Install as developper
To install it as developper, download it from github:
git clone https://github.com/oasys-esrf-kit/OASYS2-ESRF-Extensions
cd OASYS2-ESRF-Extensions
Then link the source code to your Oasys python (note that you must use the python that Oasys uses):
python -m pip install -e . --no-deps --no-binary :all:
When restarting Oasys, you will see the ESRF addons there.
Upload new version to the pypi server
First create a new version using your developper installation. Do not forget to increment the version number in setup.py
- Then run:
python setup.py sdist
- Followed by:
python -m twine upload dist/OASYS2-ESRF-Extensions-X.X.X.tar.gz
You need an account in pypi.org and be authorized in https://pypi.org/project/OASYS2-ESRF-Extensions/
Metadata
Release files for OASYS2-ESRF-EXTENSIONS 0.0.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oasys2_esrf_extensions-0.0.22.tar.gz | 3.3 MB | Details |
Release files / oasys2_esrf_extensions-0.0.22.tar.gz
| Download URL | oasys2_esrf_extensions-0.0.22.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7b24dcccbb28a896b615f60a3f1c60406b98c1ff8501c75de8203a830b13e89
|
|
BLAKE2b-256 checksum How to use checksums |
9e82a59991cd0f3670f736637827ebe8c2502e5aea01ef59e03872c2c17b4703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|