|
|
"""Distutils setup file""" |
"""Distutils setup file""" |
|
|
from distutils.core import setup, Command |
from distutils.core import setup, Command, Extension |
from distutils.command.install_data import install_data |
from distutils.command.install_data import install_data |
from distutils.command.sdist import sdist as old_sdist |
from distutils.command.sdist import sdist as old_sdist |
import sys |
import sys |
|
|
package_dir = {'':'src'}, |
package_dir = {'':'src'}, |
|
|
|
ext_modules = [Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"])], |
|
|
cmdclass = { |
cmdclass = { |
'install_data': install_data, 'sdist': sdist, 'happy': happy, |
'install_data': install_data, 'sdist': sdist, 'happy': happy, |
'test': test, |
'test': test, |