Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

51 lines (41 sloc) 1.329 kb
#!/usr/bin/python
import glob
import platform
import sys
import os
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, Extension
system, node, release, version, machine, processor = platform.uname()
sources = glob.glob('src/falcon/*.cc') + ['src/falcon/rmodule.i']
sources.remove('src/falcon/rlist.cc')
setup(
name='falcon',
version='0.05',
maintainer='Russell Power',
maintainer_email='russell.power@gmail.com',
url='http://github.com/rjpower/falcon',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: C++',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
description='Faster than a speeding bullet...',
package_dir={'': 'src'},
packages=['falcon'],
ext_modules=[
Extension('_falcon_core',
include_dirs=['./src'],
sources=sources,
swig_opts = ['-Isrc', '-modern', '-O', '-c++', '-w312,509'],
extra_compile_args=['-fno-gcse', '-fno-crossjumping', '-ggdb2', '-std=c++0x', '-Isrc/sparsehash-2.0.2/src'],
extra_link_args=([] if system == 'Darwin' else ['-lrt']),
)
]
)
Jump to Line
Something went wrong with that request. Please try again.