Leonard Ritter avatar Leonard Ritter committed 693c7ab

added setup.py

Comments (0)

Files changed (5)

 
 .sconsign.dblite
 .settings
+*.egg-info
 *.pyc
 *.blend1
 *.blend2
 
 syntax: regexp
 
+^build
+^dist
+
+CFFI-based Python bindings for SDL 2.0. Best used with PyPy. In early alpha stage.
+

sdl_defs/SDL_events.h

     char text[32];  /**< The editing text */
     int start;                                  /**< The start cursor of selected editing text */
     int length;                                 /**< The length of selected editing text */
-    Uint32 padding;
+    //Uint32 padding;
 } SDL_TextEditingEvent;
 
 
+
+import os
+from setuptools import setup
+
+def read(fname):
+    return open(os.path.join(os.path.dirname(__file__), fname)).read()
+
+setup(
+    name = "pysdl-cffi",
+    version = "0.1",
+    author = "Leonard Ritter",
+    author_email = "contact@leonard-ritter.com",
+    description = ("CFFI-based Python bindings for SDL 2.0. Best used"
+        " with PyPy."),
+    license = "MIT",
+    keywords = "sdl cffi pypy",
+    url = "https://bitbucket.org/duangle/pysdl-cffi",
+    packages=['sdl', 'testing'],
+    long_description=read('README'),
+    classifiers=[
+        "Development Status :: 3 - Alpha",
+        "Topic :: Software Development :: Libraries :: Application Frameworks",
+        "License :: OSI Approved :: MIT License",
+    ],
+)

testing/__init__.py

+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.