Source

cffi / setup.py

Full commit
Ronny Pfannschmi… f326749 

Ronny Pfannschmi… 4ee10e6 
Alex Gaynor 0164a34 
Ronny Pfannschmi… 4ee10e6 




Ronny Pfannschmi… f326749 





Armin Rigo 0fb1e06 

Ronny Pfannschmi… f326749 



Ronny Pfannschmi… 4ee10e6 


fijal 88f5792 



Ronny Pfannschmi… 4ee10e6 
import sys
from setuptools import setup, Feature, Extension


setup(
    name='ffi',
    descripton='experimental ffi after the example of lua ffi',
    get_version_from_scm=True,

    features={
        'cextension': Feature(
            "fast c backend for cpython",
            standard='__pypy__' not in sys.modules,
            ext_modules=[
                Extension(name='_ffi_backend',
                          sources=['c/_ffi_backend.c'],
                          libraries=['ffi']),
            ],
        ),
    },

    setup_requires=[
        'hgdistver',
    ],
    install_requires=[
        'platformer',
        'pycparser',
    ]
)