pysdl-cffi / setup.py

import os
import sys
from setuptools import setup

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

if sys.platform == 'linux2':
    dllname = 'libSDL2.so'
elif sys.platform == 'win32':
    dllname = 'SDL2.dll'

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'],
    package_data = {
        'sdl' : [dllname],
    },
    long_description=read('README'),
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Topic :: Software Development :: Libraries :: Application Frameworks",
        "License :: OSI Approved :: MIT License",
    ],
)
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.