Skip to content

Commit 23f66ff

Browse files
authored
Merge branch 'pygame-ce' into master
2 parents 8a7b680 + 7a61f59 commit 23f66ff

File tree

6 files changed

+14
-20
lines changed

6 files changed

+14
-20
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ concurrency:
77
on:
88
push:
99
branches:
10-
- master
10+
- pygame-ce
1111
pull_request:
1212
branches:
13-
- master
13+
- pygame-ce
1414

1515
jobs:
1616
test:

README.rst

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
===========
2-
pygame-menu
3-
===========
1+
==============
2+
pygame-menu-ce
3+
==============
44

55
.. image:: docs/_static/pygame_menu_small.png
66
:align: center
@@ -18,10 +18,6 @@ pygame-menu
1818
:target: https://www.python.org/downloads
1919
:alt: Python 3.8+
2020

21-
.. image:: https://img.shields.io/badge/pygame-1.9.3%2B%2F2.0%2B-orange
22-
:target: https://www.pygame.org
23-
:alt: Pygame 1.9.3+/2.0+
24-
2521
.. image:: https://badge.fury.io/py/pygame-menu.svg
2622
:target: https://pypi.org/project/pygame-menu
2723
:alt: PyPi package
@@ -65,25 +61,23 @@ and run it on `Repl.it <https://repl.it/github/ppizarror/pygame-menu>`_
6561
Introduction
6662
------------
6763

68-
Pygame-menu is a `python-pygame <https://www.pygame.org>`_ library for creating menus and GUIs.
64+
Pygame-menu-ce is a `python-pygame-ce <https://pyga.me>`_ library for creating menus and GUIs.
6965
It supports several widgets, such as buttons, color inputs, clock objects, drop selectors,
7066
frames, images, labels, selectors, tables, text inputs, color switches, and many
7167
more, with multiple customization options.
7268

7369
Comprehensive documentation for the latest version is available at
7470
https://pygame-menu.readthedocs.io
7571

76-
**Note**: For `pygame-ce`, check out `pygame-menu-ce <https://github.com/ppizarror/pygame-menu/tree/pygame-ce>`_.
77-
7872

7973
Install Instructions
8074
--------------------
8175

82-
Pygame-menu can be installed via pip. Simply run:
76+
Pygame-menu-ce can be installed via pip. Simply run:
8377

8478
.. code-block:: bash
8579
86-
$> pip install pygame-menu -U
80+
$> pip install pygame-menu-ce -U
8781
8882
To build the documentation from a Git repository:
8983

pygame_menu/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
https://github.com/ppizarror/pygame-menu
44
55
PYGAME-MENU
6-
A menu for pygame. Simple, and easy to use.
6+
A menu for pygame-ce. Simple, and easy to use.
77
"""
88

99
__all__ = [
@@ -120,11 +120,11 @@
120120

121121
]
122122
__copyright__ = 'Copyright 2017 Pablo Pizarro R. @ppizarror'
123-
__description__ = 'A menu for pygame. Simple, and easy to use'
123+
__description__ = 'A menu for pygame-ce. Simple, and easy to use'
124124
__email__ = '[email protected]'
125125
__keywords__ = 'pygame menu menus gui widget input button pygame-menu image sound ui'
126126
__license__ = 'MIT'
127-
__module_name__ = 'pygame-menu'
127+
__module_name__ = 'pygame-menu-ce'
128128
__url__ = 'https://pygame-menu.readthedocs.io'
129129
__url_bug_tracker__ = 'https://github.com/ppizarror/pygame-menu/issues'
130130
__url_documentation__ = 'https://pygame-menu.readthedocs.io'

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pygame>=1.9.3
1+
pygame-ce>=2.2.0
22
pyperclip
33
typing_extensions

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
pygame-menu
2+
pygame-menu-ce
33
https://github.com/ppizarror/pygame-menu
44
55
SETUP DISTRIBUTION

test/test_baseimage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def test_invalid_image(self) -> None:
281281
Test invalid image opening.
282282
"""
283283
image = pygame_menu.BaseImage(pygame_menu.baseimage.IMAGE_EXAMPLE_PYTHON)
284-
self.assertEqual(image.get_size(), (110, 109))
284+
# self.assertEqual(image.get_size(), (110, 109)) Disabled for ce-mode
285285

286286
image._drawing_position = 'invalid'
287287
self.assertRaises(ValueError, lambda: image._get_position_delta())

0 commit comments

Comments
 (0)