-
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.
- Loading branch information
Showing
3 changed files
with
31 additions
and
3 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,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/ |
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 |
---|---|---|
|
@@ -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'], | ||
|
@@ -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", | ||
|