Metadata-Version: 2.4
Name: OASYS2-PETRA-EXTENSIONS
Version: 0.1.1
Summary: oasys2-petra-extensions
Home-page: https://github.com/martinseyrich/OASYS2-PETRA-EXTENSIONS
Download-URL: https://github.com/martinseyrich/OASYS2-PETRA-EXTENSIONS
Author: Martin Seyrich
Author-email: martin.seyrich@desy.de
License: MIT
Keywords: ray tracing,wave optics,x-ray optics,oasys2
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: X11 Applications :: Qt
Classifier: Environment :: Console
Classifier: Environment :: Plugins
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Science/Research
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: oasys2>=0.0.51
Requires-Dist: joblib
Requires-Dist: PyYAML
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: download-url
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

# OASYS2-PETRA-Extensions
OASYS2 extensions for PETRA

This repository contains extensions to Oasys developed at PETRA. 

## 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-PETRA-Extensions". You will see a new entry "PETRAExtensions" in the add-on list. Check it and click "OK"
+ Restart Oasys.

![addon menu](https://github.com/oasys-petra-kit/OASYS2-PETRA-Extensions/blob/main/images/image2.png "addon menu")


Once it is installed, it should populate the widget bar on the side.

![side menu](https://github.com/oasys-petra-kit/OASYS2-PETRA-Extensions/blob/main/images/image1.png "side menu")


## Install as developper

To install it as developper, download it from github:
```
git clone  https://github.com/martinseyrich/OASYS2-PETRA-Extensions
cd OASYS2-PETRA-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 PETRA addons there.
