Skip to main content

our awesome spectral toolbox

Project description

oast

This package provides our awesome spectral toolbox for performing analysis of hyperspectral data.

Development

Setup

In the cloned git repository, create your virtual environment:

python3 -m venv .venv
source .venv/bin/activate  # or .venv/bin/activate.fish, or whatever

and install this package in "editable" mode:

pip install --editable .

If you get an error like ERROR: File "setup.py" not found., then upgrade pip (pip install --upgrade pip) and retry.

Now, you can run the console scripts and such, with all the necessary dependencies, but the local code is still being run directly, so any changes made are immediately reflected.

Building and releasing for PyPI

With build installed (pip install --upgrade build), you can then run:

python3 -m build

You now have your distribution ready (e.g. a tar.gz file and a .whl file in the dist directory), which you can upload to PyPI! With twine installed (pipx install twine), upload the distribution with:

twine upload dist/*

Releasing for conda

This package is distributed for conda through the conda-forge channel. When a new version is released on PyPI, that new version should also be released on conda-forge.

It is highly likely that a bot will notice the new PyPI version and create a pull request on https://github.com/conda-forge/oast-feedstock automatically that can be checked and merged. This is the preferred method. If such a pull request doesn't arrive, update the feedstock manually as follows.

Clone your fork of the conda feedstock (https://github.com/conda-forge/oast-feedstock) and update the recipe/meta.yaml file to reflect the new PyPI release. If you have grayskull installed (pipx install grayskull), you can generate a recipe that has the new PyPI release information with

grayskull pypi --strict-conda-forge oast

and manually copy over the version, sha256, etc to the recipe/meta.yaml file in the feedstock repository. Don't blindly copy over the whole file.

Commit and push the recipe change and open a pull request to https://github.com/conda-forge/oast-feedstock. On the pull request, comment "@conda-forge-admin please rerender" to rerender it. Once the pull request is merged, conda-forge should build and publish the new version.

Project details


Download files

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

Source Distribution

oast-0.0.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oast-0.0.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file oast-0.0.3.tar.gz.

File metadata

  • Download URL: oast-0.0.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for oast-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5797512920cfa2ab4a4fb325c570bd8d1bfad98fb99e2c8b75dd1c24e54cd7f6
MD5 62ffa4de74165101bb054cc8b336b6cd
BLAKE2b-256 49ee0017668833f49ed7c1cf6d65a34c023762df053a54a23a8099c0b740b6cc

See more details on using hashes here.

File details

Details for the file oast-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: oast-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for oast-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b1fa2afff3d8da9346902cc232ec4fd60de1437a8e03ce8deec929bfbf5a528f
MD5 1ff219076d22fa083216134301109012
BLAKE2b-256 e8856773ce8decd6b2be6a02e40a9e8a36c68fab77b03a624ac284f71f662b4c

See more details on using hashes here.

Supported by

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