mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2025-12-31 17:00: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
|
||||
run: |
|
||||
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
|
||||
python -m build .
|
||||
run: |
|
||||
uv build --wheel
|
||||
- name: Publish to Pypi
|
||||
uses: pypa/gh-action-pypi-publish@v1.12.2
|
||||
uses: pypa/gh-action-pypi-publish@v1.13.0
|
||||
with:
|
||||
password: ${{ secrets.PYPI_APIKEY }}
|
||||
- name: Send Bluesky Post
|
||||
uses: myConsciousness/bluesky-post@v5
|
||||
with:
|
||||
text: |
|
||||
I've released a new version of wavinfo, my module for
|
||||
reading WAVE metadata.
|
||||
link-preview-url: ${{ github.server_url }}/${{ github.repository }}
|
||||
identifier: ${{ secrets.BLUESKY_APP_USER }}
|
||||
password: ${{ secrets.BLUESKY_APP_PASSWORD }}
|
||||
service: bsky.social
|
||||
retry-count: 1
|
||||
# - name: Send Bluesky Post
|
||||
# uses: myConsciousness/bluesky-post@v5
|
||||
# with:
|
||||
# text: |
|
||||
# I've released a new version of wavinfo, my module for
|
||||
# reading WAVE metadata.
|
||||
# link-preview-url: ${{ github.server_url }}/${{ github.repository }}
|
||||
# identifier: ${{ secrets.BLUESKY_APP_USER }}
|
||||
# password: ${{ secrets.BLUESKY_APP_PASSWORD }}
|
||||
# service: bsky.social
|
||||
# retry-count: 1
|
||||
|
||||
@@ -9,11 +9,11 @@ version: 2
|
||||
build:
|
||||
os: ubuntu-20.04
|
||||
tools:
|
||||
python: "3.10"
|
||||
# You can also specify other tool versions:
|
||||
# nodejs: "16"
|
||||
# rust: "1.55"
|
||||
# golang: "1.17"
|
||||
python: "3.13"
|
||||
jobs:
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install --group 'doc'
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
@@ -28,5 +28,3 @@ python:
|
||||
install:
|
||||
- method: pip
|
||||
path: .
|
||||
extra_requirements:
|
||||
- doc
|
||||
|
||||
@@ -12,25 +12,24 @@
|
||||
# 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.
|
||||
#
|
||||
import importlib
|
||||
# import importlib
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.abspath('../..'))
|
||||
sys.path.insert(0, os.path.abspath("../../.."))
|
||||
sys.path.insert(0, os.path.abspath('../../src'))
|
||||
sys.path.insert(0, os.path.abspath("../../../src"))
|
||||
print(sys.path)
|
||||
|
||||
import importlib
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
project = u'wavinfo'
|
||||
copyright = u'2018-2024, Jamie Hardt'
|
||||
copyright = u'2018-2025, Jamie Hardt'
|
||||
author = u'Jamie Hardt'
|
||||
|
||||
# The short X.Y version
|
||||
version = "3.1"
|
||||
version = "4.0"
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = importlib.metadata.version("wavinfo")
|
||||
release = "4.0.0"
|
||||
# release = importlib.metadata.version("wavinfo")
|
||||
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
||||
|
||||
[project]
|
||||
name = "wavinfo"
|
||||
version = "3.1.1"
|
||||
version = "4.0.0"
|
||||
description = "Probe WAVE files for all metadata"
|
||||
authors = [{ name = "Jamie Hardt", email = "jamiehardt@me.com"}]
|
||||
license = "MIT"
|
||||
|
||||
Reference in New Issue
Block a user