|
|
@@ -0,0 +1,25 @@ |
|
|
|
#!/usr/bin/python |
|
|
|
|
|
|
|
# This is supposed to be using Distribute: |
|
|
|
# |
|
|
|
# distutils provides a "setup" method. |
|
|
|
# setuptools is a set of monkeypatches on top of that. |
|
|
|
# distribute is a particular version/implementation of setuptools. |
|
|
|
# |
|
|
|
# So we don't really know if this is using the old setuptools or the |
|
|
|
# Distribute-provided version of setuptools. |
|
|
|
|
|
|
|
from setuptools import setup, find_packages |
|
|
|
from distutils.extension import Extension |
|
|
|
from Cython.Build import cythonize |
|
|
|
|
|
|
|
# Build cython modules |
|
|
|
cython_modules = cythonize("**/*.pyx") |
|
|
|
|
|
|
|
# Run setup |
|
|
|
setup(name='nilmdb', |
|
|
|
version='1.0', |
|
|
|
install_requires = [ 'distribute' ], |
|
|
|
packages = find_packages(), |
|
|
|
ext_modules = cython_modules, |
|
|
|
) |