# OASYS1-ESRF-Extensions OASYS 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 “OASYS1-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/OASYS1-ESRF-Extensions cd OASYS1-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/OASYS1-ESRF-Extensions-X.X.X.tar.gz `
You need an account in pypi.org and be authorized in https://pypi.org/project/OASYS1-ESRF-Extensions/
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file OASYS1-ESRF-Extensions-0.0.94.tar.gz.
File metadata
- Download URL: OASYS1-ESRF-Extensions-0.0.94.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f9b08ed011185a4a8ae6039653071e4bde01615f6d709db602ba11fb0818c9a
|
|
| MD5 |
9d82f33e22f36cae06418637ba4caf7e
|
|
| BLAKE2b-256 |
3ae38d00b06b4c8f2955a9e0e176ebdde3b44102bddf1106c738bc500a400ba5
|