summaryrefslogtreecommitdiff
path: root/numpy/random/examples/cython/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/examples/cython/setup.py')
-rw-r--r--numpy/random/examples/cython/setup.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/numpy/random/examples/cython/setup.py b/numpy/random/examples/cython/setup.py
deleted file mode 100644
index 315527a2d..000000000
--- a/numpy/random/examples/cython/setup.py
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env python3
-"""
-Build the demos
-
-Usage: python setup.py build_ext -i
-"""
-
-import numpy as np
-from distutils.core import setup
-from Cython.Build import cythonize
-from setuptools.extension import Extension
-from os.path import join, abspath, dirname
-
-curpath = abspath(dirname(__file__))
-
-extending = Extension("extending",
- sources=[join(curpath, 'extending.pyx')],
- include_dirs=[
- np.get_include(),
- join(curpath, '..', '..')
- ],
- )
-distributions = Extension("extending_distributions",
- sources=[join(curpath, 'extending_distributions.pyx'),
- ],
- include_dirs=[np.get_include()])
-
-extensions = [extending, distributions]
-
-setup(
- ext_modules=cythonize(extensions)
-)