Skip to content
Open
1 change: 0 additions & 1 deletion .github/workflows/docker.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,6 @@ name: Build and Push Docker Image for PYRAWS

on:
push:

branches: [ "main" ]

jobs:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/pypi.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.

name: Build and publish PyRawS distribution to PyPI

on:
release:
types: [created]

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel

- name: Build Python package
run: python setup.py bdist_wheel

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: sirbastiano94
password: ${{ secrets.PYPI_PASSWORD }}
repository-url: https://upload.pypi.org/legacy/
3 changes: 3 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,3 +7,6 @@ scripts_and_studies/Test/
*.pkl
scripts_and_studies/coregistration_study/superglue_models
pyraws/sys_config.py
dist
build
myRunscripts
612 changes: 612 additions & 0 deletions Docs.md

Large diffs are not rendered by default.

630 changes: 14 additions & 616 deletions README.md

Large diffs are not rendered by default.

Binary file addedresources/.DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions setup.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,7 @@

setup(
name="pyraws",
version="1.0.0",
version="v0.0.3",
description="Python for RAW Sentinel2 data (PyRawS) is a powerful open-source Python package"
+ " that provides a comprehensive set of tools for working with Sentinel-2 Raw data. It provides utilities for"
+ " coarse spatial bands coregistration, geo-referencing, data visualization, and image processing.",
Expand DownExpand Up@@ -40,9 +40,10 @@
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Computer Vision",
"Topic :: Scientific/Engineering :: GIS",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.8",
"Environment :: GPU :: NVIDIA CUDA :: 11.0",
],
packages=["pyraws", "pyraws.database", "pyraws.raw", "pyraws.l1", "pyraws.utils"],
python_requires=">=3.8, <4",
Expand Down