Skip to content

Commit

Permalink
Switch to src/ layout
Browse files Browse the repository at this point in the history
  • Loading branch information
omad committed Dec 6, 2024
1 parent a1fddbf commit 7a0827b
Show file tree
Hide file tree
Showing 25 changed files with 127 additions and 74 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup-python-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ runs:
uses: astral-sh/setup-uv@v2
with:
version: ${{ inputs.uv-version }}
enable-cache: 'true'
enable-cache: "true"
cache-suffix: ${{ inputs.python-version }}

- name: Install Python dependencies
# --frozen: Sync without updating the uv.lock file
# --locked: Assert that the lockfile will remain unchanged
run: uv sync --frozen --all-extras --python ${{ inputs.python-version }}
shell: bash
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ docs/notebooks/

/notebooks/*html
/notebooks/*ipynb

# Auto generated by setuptools_scm
odc/loader/_version.py

.ruff_cache
.jj
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions src/odc/loader/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# file generated by setuptools_scm
# don't change, don't track in version control
TYPE_CHECKING = False
if TYPE_CHECKING:
from typing import Tuple, Union
VERSION_TUPLE = Tuple[Union[int, str], ...]
else:
VERSION_TUPLE = object

version: str
__version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = '0.1.dev205+gba2c301.d20241121'
__version_tuple__ = version_tuple = (0, 1, 'dev205', 'gba2c301.d20241121')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
176 changes: 103 additions & 73 deletions uv.lock

Large diffs are not rendered by default.

0 comments on commit 7a0827b

Please sign in to comment.