Skip to main content

OASYS extension for the ESRF

Project description

# 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.

![addon menu](https://github.com/oasys-esrf-kit/OASYS1-ESRF-Extensions/blob/master/images/image2.png “addon menu”)

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

![side menu](https://github.com/oasys-esrf-kit/OASYS1-ESRF-Extensions/blob/master/images/image1.png “side menu”)

## 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/

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

OASYS1-ESRF-Extensions-0.0.81.tar.gz (3.5 MB view details)

Uploaded Source

File details

Details for the file OASYS1-ESRF-Extensions-0.0.81.tar.gz.

File metadata

File hashes

Hashes for OASYS1-ESRF-Extensions-0.0.81.tar.gz
Algorithm Hash digest
SHA256 a1ed125d7894add33f6590548803e95cdb3bcb8622d57074a0db5d36df64240f
MD5 a7b2265632287880e15dbfb257d8d6b5
BLAKE2b-256 bf42704e439fadd5f93388ceff3ab7b35fd4b1d2241dc43a676d52b8edb88328

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page