zfec: attempt to configure setuptools to include *.h and ez_setup.py in the resulting...
authorzooko <zooko@zooko.com>
Sat, 25 Aug 2007 22:52:28 +0000 (04:22 +0530)
committerzooko <zooko@zooko.com>
Sat, 25 Aug 2007 22:52:28 +0000 (04:22 +0530)
But, as far as I can tell this doesn't work.  I suppose I've misunderstood the docs.

darcs-hash:407959454b1e01dd6fd0f7e23252cac348bc9099

zfec/setup.py

index fb7e5c461f7cf33bc4d3cdd1e4c7369d95830da0..755e086b11f4c55bcd1836eff1f417a64c89c70f 100755 (executable)
@@ -105,5 +105,7 @@ setup(name='zfec',
       classifiers=trove_classifiers,
       entry_points = { 'console_scripts': [ 'zfec = zfec.cmdline_zfec:main', 'zunfec = zfec.cmdline_zunfec:main' ] },
       ext_modules=[Extension('_fec', ['zfec/fec.c', 'zfec/_fecmodule.c',], extra_link_args=extra_link_args, extra_compile_args=extra_compile_args, undef_macros=undef_macros),],
+      include_package_data = True,
+      package_data = { '': ['*.h', 'ez_setup.py',] },
       test_suite="zfec.test",
       )