Skip to content

Commit 1c461e1

Browse files
committed
Revert "Merge branch 'pygame-ce' into master"
This reverts commit 23f66ff, reversing changes made to 8a7b680.
1 parent 23f66ff commit 1c461e1

File tree

6 files changed

+20
-14
lines changed

6 files changed

+20
-14
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-
- pygame-ce
10+
- master
1111
pull_request:
1212
branches:
13-
- pygame-ce
13+
- master
1414

1515
jobs:
1616
test:

README.rst

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

55
.. image:: docs/_static/pygame_menu_small.png
66
:align: center
@@ -18,6 +18,10 @@ pygame-menu-ce
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+
2125
.. image:: https://badge.fury.io/py/pygame-menu.svg
2226
:target: https://pypi.org/project/pygame-menu
2327
:alt: PyPi package
@@ -61,23 +65,25 @@ and run it on `Repl.it <https://repl.it/github/ppizarror/pygame-menu>`_
6165
Introduction
6266
------------
6367

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

6973
Comprehensive documentation for the latest version is available at
7074
https://pygame-menu.readthedocs.io
7175

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

7379
Install Instructions
7480
--------------------
7581

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

7884
.. code-block:: bash
7985
80-
$> pip install pygame-menu-ce -U
86+
$> pip install pygame-menu -U
8187
8288
To build the documentation from a Git repository:
8389

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-ce. Simple, and easy to use.
6+
A menu for pygame. 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-ce. Simple, and easy to use'
123+
__description__ = 'A menu for pygame. 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-ce'
127+
__module_name__ = 'pygame-menu'
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-ce>=2.2.0
1+
pygame>=1.9.3
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-ce
2+
pygame-menu
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)) Disabled for ce-mode
284+
self.assertEqual(image.get_size(), (110, 109))
285285

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

0 commit comments

Comments
 (0)