Instructions for getting climextremes on PyPI.
TestPyPI for climextremes is https://test.pypi.org/manage/project/climextremes/ Note that every time you change the package seem to need to create new version number for TestPyPI to accept the upload.
Also you need to have the twine package installed.
cd python_wrapper python setup.py sdist bdist_wheel
That should generate whl and .tar.gz files in
Note that this creates an egg file but not sure why. The upload to PyPI does not seem to upload the egg.
# python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* python -m twine upload -u paciorek -p PASSWORD --repository-url https://test.pypi.org/legacy/ dist/*
If don't provide password on command line, you get "RuntimeError: No recommended backend was available. Install the keyrings.alt package if you want to use the non-recommended backends. See README.rst for details."
Note that it can be a hassle to upload new copies of files of the same version if want to test out changes. Try renaming the version number and make sure you do dist/filename rather than dist/*
python -m twine upload -u paciorek -p PASSWORD dist/*
# test PyPI pip install --user --index-url https://test.pypi.org/simple/ climextremes # regular PyPI pip install --user climextremes
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.