-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Start package for pypi * Add publish.yml * Specify poetry version * Update version
- Loading branch information
1 parent
e8829e7
commit f716163
Showing
5 changed files
with
166 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Publish to PyPi | ||
on: workflow_dispatch | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
pypi-publish: | ||
name: Upload release to PyPI | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/project/pyinstxtractor-ng/ | ||
permissions: | ||
id-token: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
version: 1.8.5 | ||
|
||
- name: Install dependencies | ||
run: poetry install --sync --no-interaction | ||
|
||
- name: Package project | ||
run: poetry build | ||
|
||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,23 @@ | ||
[tool.poetry] | ||
name = "pyinstxtractor-ng" | ||
version = "2025.01.05" | ||
description = "PyInstaller Extractor Next Generation" | ||
authors = ["extremecoders-re"] | ||
license = "GPL-3.0-only" | ||
readme = "README.md" | ||
packages = [ | ||
{ include = "pyinstxtractor-ng.py" } | ||
] | ||
|
||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8,<3.13" | ||
xdis = "6.1.3" | ||
pycryptodome = "3.17" | ||
|
||
[tool.poetry.scripts] | ||
pyinstxtractor-ng = 'pyinstxtractor-ng:main' | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
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,3 +1,3 @@ | ||
pyinstaller==5.10.1 | ||
xdis==6.1.1 | ||
xdis==6.1.3 | ||
PyCryptoDome==3.17 |
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,2 +1,2 @@ | ||
xdis==6.1.1 | ||
xdis==6.1.3 | ||
PyCryptoDome==3.17 |