forked from jwilk-archive/python-djvulibre
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f3cbb2
commit 5e2eb4d
Showing
30 changed files
with
159 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Publish Python distribution | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
name: Build distribution | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
- name: Install pypa/build | ||
run: >- | ||
python3 -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a source tarball | ||
run: python3 -m build --sdist | ||
- name: Store the distribution packages | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
||
publish-to-pypi: | ||
name: Publish Python distribution to PyPI | ||
needs: | ||
- build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/djvulibre-python | ||
permissions: | ||
id-token: write # IMPORTANT: mandatory for trusted publishing | ||
|
||
steps: | ||
- name: Download all the dists | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
- name: Publish distribution to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright © 2015-2021 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright © 2008-2018 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright © 2008-2015 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright © 2007-2020 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright © 2007-2022 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright © 2007-2018 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright © 2007-2019 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright © 2009-2021 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFröbel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
@@ -31,7 +31,7 @@ | |
version = release = _setup.py_version | ||
except ImportError: | ||
from importlib.metadata import version as _version | ||
project = 'python-djvulibre' | ||
project = 'djvulibre-python' | ||
version = _version(project) | ||
|
||
pygments_style = 'sphinx' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ | |
# Copyright © 2008-2018 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ | |
# Copyright © 2008-2018 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ | |
# Copyright © 2010-2021 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ | |
# Copyright © 2016-2022 Jakub Wilk <[email protected]> | ||
# Copyright © 2022-2024 FriedrichFroebel | ||
# | ||
# This file is part of python-djvulibre. | ||
# This file is part of djvulibre-python. | ||
# | ||
# python-djvulibre is free software; you can redistribute it and/or modify it | ||
# djvulibre-python is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 as published by | ||
# the Free Software Foundation. | ||
# | ||
# python-djvulibre is distributed in the hope that it will be useful, but | ||
# djvulibre-python is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
# more details. | ||
|
Oops, something went wrong.