mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2025-12-31 08:50:41 +00:00
Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95ba34187a | |||
| 4d2dfcd370 | |||
| 717b6a4117 | |||
| 7393afac95 | |||
| e9450cd65a | |||
| 51b1a2e8b4 | |||
| 53303232b4 | |||
| 3519a0251f | |||
| 79ec1649c4 | |||
| 7c3f4c9b5e | |||
| 2e8224cb3c | |||
| 8ef4186b4c | |||
| cd5346c1cb | |||
|
|
925bf4f8a6 | ||
|
|
e98ba0bf07 | ||
| afca634dc3 | |||
|
|
df9ae0f4d6 | ||
|
|
2f23bcb982 | ||
|
|
afe5ea9ed3 |
32
.github/workflows/pythonpublish.yml
vendored
32
.github/workflows/pythonpublish.yml
vendored
@@ -16,21 +16,25 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install setuptools build wheel twine lxml
|
- name: Setup uv and Handle Its Cache
|
||||||
|
# You may pin to the exact commit or the version.
|
||||||
|
# uses: hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817
|
||||||
|
uses: hynek/setup-cached-uv@v2.3.0
|
||||||
- name: Build
|
- name: Build
|
||||||
python -m build .
|
run: |
|
||||||
|
uv build --wheel
|
||||||
- name: Publish to Pypi
|
- name: Publish to Pypi
|
||||||
uses: pypa/gh-action-pypi-publish@v1.12.2
|
uses: pypa/gh-action-pypi-publish@v1.13.0
|
||||||
with:
|
with:
|
||||||
password: ${{ secrets.PYPI_APIKEY }}
|
password: ${{ secrets.PYPI_APIKEY }}
|
||||||
- name: Send Bluesky Post
|
# - name: Send Bluesky Post
|
||||||
uses: myConsciousness/bluesky-post@v5
|
# uses: myConsciousness/bluesky-post@v5
|
||||||
with:
|
# with:
|
||||||
text: |
|
# text: |
|
||||||
I've released a new version of wavinfo, my module for
|
# I've released a new version of wavinfo, my module for
|
||||||
reading WAVE metadata.
|
# reading WAVE metadata.
|
||||||
link-preview-url: ${{ github.server_url }}/${{ github.repository }}
|
# link-preview-url: ${{ github.server_url }}/${{ github.repository }}
|
||||||
identifier: ${{ secrets.BLUESKY_APP_USER }}
|
# identifier: ${{ secrets.BLUESKY_APP_USER }}
|
||||||
password: ${{ secrets.BLUESKY_APP_PASSWORD }}
|
# password: ${{ secrets.BLUESKY_APP_PASSWORD }}
|
||||||
service: bsky.social
|
# service: bsky.social
|
||||||
retry-count: 1
|
# retry-count: 1
|
||||||
|
|||||||
@@ -9,11 +9,11 @@ version: 2
|
|||||||
build:
|
build:
|
||||||
os: ubuntu-20.04
|
os: ubuntu-20.04
|
||||||
tools:
|
tools:
|
||||||
python: "3.10"
|
python: "3.13"
|
||||||
# You can also specify other tool versions:
|
jobs:
|
||||||
# nodejs: "16"
|
install:
|
||||||
# rust: "1.55"
|
- pip install --upgrade pip
|
||||||
# golang: "1.17"
|
- pip install --group 'doc'
|
||||||
|
|
||||||
# Build documentation in the docs/ directory with Sphinx
|
# Build documentation in the docs/ directory with Sphinx
|
||||||
sphinx:
|
sphinx:
|
||||||
@@ -28,5 +28,3 @@ python:
|
|||||||
install:
|
install:
|
||||||
- method: pip
|
- method: pip
|
||||||
path: .
|
path: .
|
||||||
extra_requirements:
|
|
||||||
- doc
|
|
||||||
|
|||||||
@@ -12,25 +12,24 @@
|
|||||||
# add these directories to sys.path here. If the directory is relative to the
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
#
|
#
|
||||||
import importlib
|
# import importlib
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
sys.path.insert(0, os.path.abspath('../..'))
|
sys.path.insert(0, os.path.abspath('../../src'))
|
||||||
sys.path.insert(0, os.path.abspath("../../.."))
|
sys.path.insert(0, os.path.abspath("../../../src"))
|
||||||
print(sys.path)
|
print(sys.path)
|
||||||
|
|
||||||
import importlib
|
|
||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = u'wavinfo'
|
project = u'wavinfo'
|
||||||
copyright = u'2018-2024, Jamie Hardt'
|
copyright = u'2018-2025, Jamie Hardt'
|
||||||
author = u'Jamie Hardt'
|
author = u'Jamie Hardt'
|
||||||
|
|
||||||
# The short X.Y version
|
# The short X.Y version
|
||||||
version = "3.1"
|
version = "4.0"
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = importlib.metadata.version("wavinfo")
|
release = "4.0.0"
|
||||||
|
# release = importlib.metadata.version("wavinfo")
|
||||||
|
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "wavinfo"
|
name = "wavinfo"
|
||||||
version = "3.1.1"
|
version = "4.0.0"
|
||||||
description = "Probe WAVE files for all metadata"
|
description = "Probe WAVE files for all metadata"
|
||||||
authors = [{ name = "Jamie Hardt", email = "jamiehardt@me.com"}]
|
authors = [{ name = "Jamie Hardt", email = "jamiehardt@me.com"}]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user