summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-21 11:54:00 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-21 12:58:15 +0100
commit6edc28d6ab8b3f88673fd701b2c40104825a95df (patch)
tree4b0579387671391e5ee0f9d6c2a4dfb5f19aa404 /setup.py
parent5d91a53372caa54cf7110cfa7fe1166956edc9c8 (diff)
downloadgitdb-6edc28d6ab8b3f88673fd701b2c40104825a95df.tar.gz
Added delta_apply.h file to make more native use of python's build system, which should hopefully fix the easy_install trouble
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c7d0bd8..3a95ac8 100755
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,7 @@ class build_ext_nofail(build_ext):
except Exception:
print "Ignored failure when building extensions, pure python modules will be used instead"
# END ignore errors
+
def get_data_files(self):
"""Can you feel the pain ? So, in python2.5 and python2.4 coming with maya,
@@ -77,7 +78,7 @@ setup(cmdclass={'build_ext':build_ext_nofail},
package_data={'gitdb' : ['AUTHORS', 'README'],
'gitdb.test' : ['fixtures/packs/*', 'fixtures/objects/7b/*']},
package_dir = {'gitdb':''},
- ext_modules=[Extension('gitdb._perf', ['_fun.c', '_delta_apply.c'])],
+ ext_modules=[Extension('gitdb._perf', ['_fun.c', '_delta_apply.c'], include_dirs=['.'])],
license = "BSD License",
requires=('async (>=0.6.1)',),
install_requires='async >= 0.6.1',