Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (22 sloc) 759 Bytes
from setuptools import setup
from distutils.sysconfig import get_python_lib
import glob
import os
import sys
if os.path.exists('readme.rst'):
print("""The script should be executed from the build directory.
Please see the file 'readme.rst' for further instructions.""")
name = "cythoncmakeexample",
package_dir = {'': 'src'},
data_files = [(get_python_lib(), glob.glob('src/*.so')),
('bin', ['bin/rectangle-props'])],
author = 'Matt McCormick',
description = 'Use the CMake build system to make Cython modules.',
license = 'Apache',
keywords = 'cmake cython build',
url = '',
test_require = ['nose'],
zip_safe = False,