Skip to content

Commit

Permalink
ci: Updated setup.py and added release-type: python in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
strakam committed Sep 24, 2024
1 parent f1195da commit dcfe78c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
token: ${{ secrets.RELEASE_PLEASE_GENERALS }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: simple
release-type: python
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ build:
python setup.py sdist bdist_wheel

clean:
rm -rf build dist
rm -rf build dist *.egg-info
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ from generals.config import GameConfig
# Initialize agents - their names are then called for actions
agents = {
"Random": RandomAgent("Random"),
"Expander": RandomAgent("Expander")
"Expander": ExpanderAgent("Expander")
}

game_config = GameConfig(
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def load_requirements():

setup(
name='generals',
version='0.1.0',
version='0.2.0',
description='Generals.io environment compliant with PettingZoo API standard powered by Numpy.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
Expand All @@ -18,6 +18,10 @@ def load_requirements():
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
],
python_requires='>=3.6',
python_requires='>=3.10',
install_requires=load_requirements(),
include_package_data=True,
package_data={
"generals": ['images/*', 'fonts/*'],
}
)

0 comments on commit dcfe78c

Please sign in to comment.