From: zooko <zooko@zooko.com>
Date: Sat, 25 Aug 2007 22:52:28 +0000 (+0530)
Subject: zfec: attempt to configure setuptools to include *.h and ez_setup.py in the resulting... 
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/flags/statistics?a=commitdiff_plain;h=dfd606f07732fb2a2d558ca5c49219ce451d6c02;p=tahoe-lafs%2Fzfec.git

zfec: attempt to configure setuptools to include *.h and ez_setup.py in the resulting package

But, as far as I can tell this doesn't work.  I suppose I've misunderstood the docs.

darcs-hash:407959454b1e01dd6fd0f7e23252cac348bc9099
---

diff --git a/zfec/setup.py b/zfec/setup.py
index fb7e5c4..755e086 100755
--- a/zfec/setup.py
+++ b/zfec/setup.py
@@ -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",
       )