1 Commits

Author SHA1 Message Date
Jamie Hardt
8e466ea9fc Added poetry.lock to gitignore 2025-05-24 22:29:06 -07:00
8 changed files with 23 additions and 23 deletions

View File

@@ -16,7 +16,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
steps: steps:
- uses: actions/checkout@v2.5.0 - uses: actions/checkout@v2.5.0

View File

@@ -26,4 +26,14 @@ jobs:
- name: Build package - name: Build package
run: python -m build run: python -m build
- name: pypi-publish - name: pypi-publish
uses: pypa/gh-action-pypi-publish@v1.13.0 uses: pypa/gh-action-pypi-publish@v1.12.4
# - name: Report to Mastodon
# uses: cbrgm/mastodon-github-action@v1.0.1
# with:
# message: |
# I just released a new version of ptulsconv, my ADR cue sheet generator!
# #python #protools #pdf #filmmaking
# ${{ github.server_url }}/${{ github.repository }}
# env:
# MASTODON_URL: ${{ secrets.MASTODON_URL }}
# MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}

2
.gitignore vendored
View File

@@ -109,3 +109,5 @@ lcov.info
.vim .vim
.vscode .vscode
poetry.lock

View File

@@ -3,7 +3,6 @@
# For the full list of built-in configuration values, see the documentation: # For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html # https://www.sphinx-doc.org/en/master/usage/configuration.html
import importlib
import sys import sys
import os import os
@@ -16,9 +15,9 @@ import ptulsconv
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'ptulsconv' project = 'ptulsconv'
copyright = '2019-2025 Jamie Hardt. All rights reserved' copyright = '2019-2023 Jamie Hardt. All rights reserved'
version = "Version 2" # author = ptulsconv.__author__
release = importlib.metadata.version("ptulsconv") release = ptulsconv.__version__
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

View File

@@ -6,12 +6,7 @@ Usage Form
Invocations of ptulsconv take the following form: Invocations of ptulsconv take the following form:
ptulsconv [options] [IN_FILE] ptulsconv [options] IN_FILE
`IN_FILE` is a Pro Tools text export in UTF-8 encoding. If `IN_FILE` is
missing, `ptulsconv` will attempt to connect to Pro Tools and read cue data
from the selected tracks of the currently-open session.
Flags Flags

View File

@@ -1,5 +1,3 @@
""" """
Parse and convert Pro Tools text exports Parse and convert Pro Tools text exports
""" """
__copyright__ = "ptulsconv (c) 2025 Jamie Hardt. All rights reserved."

View File

@@ -2,8 +2,7 @@ from optparse import OptionParser, OptionGroup
import datetime import datetime
import sys import sys
from ptulsconv import __name__ from ptulsconv import __name__, __copyright__
import ptulsconv
from ptulsconv.commands import convert from ptulsconv.commands import convert
from ptulsconv.reporting import print_status_style, \ from ptulsconv.reporting import print_status_style, \
print_banner_style, print_section_header_style, \ print_banner_style, print_section_header_style, \
@@ -83,8 +82,7 @@ def main():
parser.add_option_group(informational_options) parser.add_option_group(informational_options)
print_banner_style(ptulsconv.__name__) print_banner_style(__copyright__)
print_banner_style(ptulsconv.__copyright__)
(options, args) = parser.parse_args(sys.argv) (options, args) = parser.parse_args(sys.argv)

View File

@@ -5,11 +5,11 @@ classifiers = [
'License :: OSI Approved :: MIT License', 'License :: OSI Approved :: MIT License',
'Topic :: Multimedia', 'Topic :: Multimedia',
'Topic :: Multimedia :: Sound/Audio', 'Topic :: Multimedia :: Sound/Audio',
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Topic :: Text Processing :: Filters" "Topic :: Text Processing :: Filters"
] ]
@@ -19,7 +19,7 @@ keywords = ["text-processing", "parsers", "film",
[tool.poetry] [tool.poetry]
name = "ptulsconv" name = "ptulsconv"
version = "2.2.4" version = "2.2.2"
description = "Read Pro Tools Text exports and generate PDF ADR Reports, JSON" description = "Read Pro Tools Text exports and generate PDF ADR Reports, JSON"
authors = ["Jamie Hardt <jamiehardt@me.com>"] authors = ["Jamie Hardt <jamiehardt@me.com>"]
license = "MIT" license = "MIT"
@@ -31,14 +31,12 @@ parsimonious = "^0.10.0"
tqdm = "^4.67.1" tqdm = "^4.67.1"
reportlab = "^4.4.1" reportlab = "^4.4.1"
py-ptsl = "^101.1.0" py-ptsl = "^101.1.0"
sphinx_rtd_theme = {version= '>= 1.1.1', optional=true}
sphinx = {version= '>= 5.3.0', optional=true}
[tool.poetry.extras] [tool.poetry.extras]
doc = ['sphinx', 'sphinx_rtd_theme'] doc = ['sphinx', 'sphinx_rtd_theme']
[tool.poetry.scripts] [tool.poetry.scripts]
ptulsconv = 'ptulsconv.__main__:main' wavinfo = 'ptulsconv.__main__:main'
[project.urls] [project.urls]