# 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/
Raw data
{
"_id": null,
"home_page": "https://github.com/oasys-esrf-kit/OASYS1-ESRF-Extensions",
"name": "OASYS1-ESRF-Extensions",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "raytracing, simulator, oasys1",
"author": "Manuel Sanchez del Rio, Juan Reyes-Herrera, Luca Rebuffi",
"author_email": "srio@esrf.eu",
"download_url": "https://files.pythonhosted.org/packages/95/39/f499e38bf23c11df66290274a127418ddf136ae644662e12897ae3ffeae6/OASYS1-ESRF-Extensions-0.0.89.tar.gz",
"platform": null,
"description": "# OASYS1-ESRF-Extensions\nOASYS extensions for the ESRF\n\nThis repository contains extensions to Oasys developed at ESRF. \n\n## Install as user\n\nTo install the add-on as user: \n\n+ In the Oasys window, open \"Options->Add-ons...\"\n+ 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\"\n+ Restart Oasys.\n\n![addon menu](https://github.com/oasys-esrf-kit/OASYS1-ESRF-Extensions/blob/master/images/image2.png \"addon menu\")\n\nOnce it is installed, it should populate the widget bar on the side.\n\n![side menu](https://github.com/oasys-esrf-kit/OASYS1-ESRF-Extensions/blob/master/images/image1.png \"side menu\")\n\n## Install as developper\n\nTo install it as developper, download it from github:\n```\ngit clone https://github.com/oasys-esrf-kit/OASYS1-ESRF-Extensions\ncd OASYS1-ESRF-Extensions\n```\n\nThen link the source code to your Oasys python (note that you must use the python that Oasys uses): \n```\npython -m pip install -e . --no-deps --no-binary :all:\n```\n\nWhen restarting Oasys, you will see the ESRF addons there.\n\n## Upload new version to the pypi server\n\nFirst create a new version using your developper installation. Do not forget to increment the version number in setup.py\n\n+ Then run:\n\n```\npython setup.py sdist\n```\n\n+ Followed by:\n\n```\npython -m twine upload dist/OASYS1-ESRF-Extensions-X.X.X.tar.gz\n```\n\nYou need an account in pypi.org and be authorized in https://pypi.org/project/OASYS1-ESRF-Extensions/\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "OASYS extension for the ESRF",
"version": "0.0.89",
"project_urls": {
"Download": "https://github.com/oasys-esrf-kit/OASYS1-ESRF-Extensions",
"Homepage": "https://github.com/oasys-esrf-kit/OASYS1-ESRF-Extensions"
},
"split_keywords": [
"raytracing",
" simulator",
" oasys1"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9539f499e38bf23c11df66290274a127418ddf136ae644662e12897ae3ffeae6",
"md5": "0889eb8dad547fb1a94a34f42dfdb099",
"sha256": "1c08e7083e01a9e4d5a6d745373be9922c73d30439c93d11db1b324d6356c168"
},
"downloads": -1,
"filename": "OASYS1-ESRF-Extensions-0.0.89.tar.gz",
"has_sig": false,
"md5_digest": "0889eb8dad547fb1a94a34f42dfdb099",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3884392,
"upload_time": "2024-12-13T14:54:31",
"upload_time_iso_8601": "2024-12-13T14:54:31.590362Z",
"url": "https://files.pythonhosted.org/packages/95/39/f499e38bf23c11df66290274a127418ddf136ae644662e12897ae3ffeae6/OASYS1-ESRF-Extensions-0.0.89.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-13 14:54:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "oasys-esrf-kit",
"github_project": "OASYS1-ESRF-Extensions",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "oasys1-esrf-extensions"
}