Skip to content

Commit

Permalink
feat: Preliminary Cython support
Browse files Browse the repository at this point in the history
  • Loading branch information
kgriffs committed Jan 21, 2013
1 parent 6ef7b74 commit 54b3b2e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
*.py[cod]

# C extensions
*.c
*.so

# Packages
Expand Down
18 changes: 18 additions & 0 deletions falcon/cython-setup.py
@@ -0,0 +1,18 @@
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

ext_modules = [
Extension('api', ['api.py']),
Extension('api_helpers', ['api_helpers.py']),
Extension('request', ['request.py']),
Extension('request_helpers', ['request_helpers.py']),
Extension('response', ['response.py']),
Extension('responders', ['responders.py'])
]

setup(
name='Falcon',
cmdclass={'build_ext': build_ext},
ext_modules=ext_modules
)

0 comments on commit 54b3b2e

Please sign in to comment.