Skip to content

Commit

Permalink
mod: prepare 4 new release
Browse files Browse the repository at this point in the history
  • Loading branch information
wo1fsea committed Feb 14, 2024
1 parent 8373434 commit 6696706
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish to PyPI

on:
push:
branches: [ "release" ]
pull_request:
branches: [ "release" ]

jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
setup(
name='PyTexturePacker',
packages=find_packages(exclude=['docs', 'tests', 'test_image']),
version='1.1.0',
version='1.2.0',
description='an package to create sprite sheets or sprite atlases',
author='Quanyong Huang',
author_email='[email protected]',
url='https://github.com/wo1fsea/PyTexturePacker',
download_url='https://github.com/wo1fsea/PyTexturePacker/releases/tag/v1.1.0',
download_url='https://github.com/wo1fsea/PyTexturePacker/releases/tag/v1.2.0',
keywords=['TexturePacker', 'cocos2d-x', 'sprite-sheet', 'texture-pack'],
license='MIT',
install_requires=['Pillow'],
Expand All @@ -18,6 +18,11 @@
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Multimedia :: Graphics",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit 6696706

Please sign in to comment.