Switch to flit for build

This commit is contained in:
Nguyễn Gia Phong 2020-03-03 21:24:41 +07:00
parent 5e5778d814
commit b90e6c272c
5 changed files with 35 additions and 34 deletions

View File

@ -1 +0,0 @@
include LICENSE screenshot.png

View File

@ -1 +1,3 @@
"""Brutal Maze is a minimalist thrilling shoot 'em up game."""
"""Minimalist thrilling shoot 'em up game with minimalist art style"""
from .game import __version__

31
pyproject.toml Normal file
View File

@ -0,0 +1,31 @@
[build-system]
requires = ['flit_core >=2,<3']
build-backend = 'flit_core.buildapi'
[tool.flit.metadata]
module = 'brutalmaze'
author = 'Nguyễn Gia Phong'
author-email = 'mcsinyx@disroot.org'
home-page = 'https://github.com/McSinyx/brutalmaze'
requires = ['appdirs', 'pygame>=1.9', 'setuptools']
description-file = 'README.rst'
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Games/Entertainment :: Arcade']
keywords = 'pygame,shmup,maze,ai-challenges'
license = 'AGPLv3+'
[tool.flit.entrypoints.console_scripts]
brutalmaze = "brutalmaze.game:main"
[tool.flit.sdist]
exclude = ['docs', 'wiki']

View File

@ -1,31 +0,0 @@
#!/usr/bin/env python3
from setuptools import setup
with open('README.rst') as f:
long_description = f.read()
setup(
name='brutalmaze',
version='0.9.0',
description="Minimalist thrilling shoot 'em up game",
long_description=long_description,
url='https://github.com/McSinyx/brutalmaze',
author='Nguyễn Gia Phong',
author_email='vn.mcsinyx@gmail.com',
license='AGPLv3+',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Games/Entertainment :: Arcade'],
keywords='pygame shmup arcade-game maze ai-challenges',
packages=['brutalmaze'],
install_requires=['appdirs', 'pygame>=1.9'],
package_data={'brutalmaze': ['icon.png', 'soundfx/*.ogg', 'settings.ini']},
entry_points={'console_scripts': ['brutalmaze = brutalmaze.game:main']})

2
wiki

@ -1 +1 @@
Subproject commit 55bec877617541436935290adedb7760b1155570
Subproject commit 7375e5e6615dc11b9baccca059f258dbaf30f667