瀏覽代碼

Add pygame example

Thomas Kluyver 11 年之前
父節點
當前提交
54685b8144
共有 2 個文件被更改,包括 13 次插入0 次删除
  1. 1 0
      examples/build_all_examples.py
  2. 12 0
      examples/pygame/installer.cfg

+ 1 - 0
examples/build_all_examples.py

@@ -5,6 +5,7 @@ example_cfgs = [
     'console/installer.cfg',
     'pyqt/installer.cfg',
     'tkinter/installer.cfg',
+    'pygame/installer.cfg',
 ]
 
 examples_dir = os.path.dirname(os.path.abspath(__file__))

+ 12 - 0
examples/pygame/installer.cfg

@@ -0,0 +1,12 @@
+[Application]
+name=Aliens
+version=1.0
+# The aliens example is shipped with pygame, so there are no other files here.
+entry_point=pygame.examples.aliens:main
+
+[Python]
+version=3.4.0
+bitness=32
+
+[Include]
+packages=pygame