5 Commits

Author SHA1 Message Date
Jamie Hardt
617f34a515 Fixing publish script to use pypi 2023-06-02 19:37:12 -07:00
Jamie Hardt
5427b4cfb1 BUmped version number and copyright 2023-06-02 19:25:07 -07:00
Jamie Hardt
408829e820 Fixed numerous errors with build 2023-06-02 19:23:07 -07:00
Jamie Hardt
b65401d25f Fixing doc build 2023-02-28 12:24:30 -08:00
Jamie Hardt
50fe3e2c0a Fixing doc build 2023-02-28 12:21:39 -08:00
8 changed files with 43 additions and 64 deletions

View File

@@ -4,36 +4,36 @@ on:
release: release:
types: [published] types: [published]
permissions:
contents: read
id-token: write
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: release
steps: steps:
- uses: actions/checkout@v2.5.0 - uses: actions/checkout@v3.5.2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4.3.0 uses: actions/setup-python@v4.6.0
with: with:
python-version: '3.x' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install build twine pip install build
- name: Install parsimonious - name: Build package
run: | run: python -m build
pip install parsimonious - name: pypi-publish
- name: Build and publish uses: pypa/gh-action-pypi-publish@v1.8.6
env: # - name: Report to Mastodon
TWINE_USERNAME: __token__ # uses: cbrgm/mastodon-github-action@v1.0.1
TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_API_KEY }} # with:
run: | # message: |
python -m build # I just released a new version of ptulsconv, my ADR cue sheet generator!
twine upload dist/* # #python #protools #pdf #filmmaking
- name: Report to Mastodon # ${{ github.server_url }}/${{ github.repository }}
uses: cbrgm/mastodon-github-action@v1.0.1 # env:
with: # MASTODON_URL: ${{ secrets.MASTODON_URL }}
message: | # MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
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 }}

View File

@@ -26,4 +26,7 @@ formats:
#Optionally declare the Python requirements required to build your docs #Optionally declare the Python requirements required to build your docs
python: python:
install: install:
- requirements: docs/requirements.txt - method: pip
path: .
extra_requirements:
- doc

View File

View File

@@ -1,29 +0,0 @@
alabaster==0.7.12
Babel==2.11.0
certifi==2022.12.7
charset-normalizer==2.1.1
docutils==0.17.1
idna==3.4
imagesize==1.4.1
Jinja2==3.1.2
MarkupSafe==2.1.1
packaging==21.3
parsimonious==0.10.0
Pillow==9.3.0
Pygments==2.13.0
pyparsing==3.0.9
pytz==2022.6
regex==2022.10.31
reportlab==3.6.12
requests==2.28.1
snowballstemmer==2.2.0
Sphinx==5.3.0
sphinx-rtd-theme==1.1.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
tqdm==4.64.1
urllib3==1.26.12

View File

@@ -15,8 +15,8 @@ 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 = ptulsconv.__copyright__ # copyright = ptulsconv.__copyright__
author = ptulsconv.__author__ # author = ptulsconv.__author__
release = ptulsconv.__version__ release = ptulsconv.__version__
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View File

@@ -2,7 +2,7 @@
Parse and convert Pro Tools text exports Parse and convert Pro Tools text exports
""" """
__version__ = '1.0.6' __version__ = '1.0.7'
# __author__ = 'Jamie Hardt' __author__ = 'Jamie Hardt'
# __license__ = 'MIT' __license__ = 'MIT'
# __copyright__ = "%s %s (c) 2022 %s. All rights reserved." % (__name__, __version__, __author__) __copyright__ = "%s %s (c) 2023 %s. All rights reserved." % (__name__, __version__, __author__)

View File

@@ -33,9 +33,14 @@ doc = [
"sphinx-rtd-theme >= 1.1.1" "sphinx-rtd-theme >= 1.1.1"
] ]
[project.scripts] [tool.flit.module]
flit = "ptulsconv.__main__:main" name = "ptulsconv"
[project.scripts]
ptulsconv = "ptulsconv.__main__:main"
[project.entry_points.console_scripts]
ptulsconv = 'ptulsconv.__main__:main'
[project.urls] [project.urls]
Source = 'https://github.com/iluvcapra/ptulsconv' Source = 'https://github.com/iluvcapra/ptulsconv'