[tahoe-lafs-trac-stream] [zfec] #15: zfec 1.4.23 fails to build
zfec
trac at tahoe-lafs.org
Wed Apr 11 07:47:12 UTC 2012
#15: zfec 1.4.23 fails to build
----------------------------+----------------------
Reporter: vrusinov | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone:
Component: component1 | Version:
Resolution: | Keywords:
Launchpad Bug: |
----------------------------+----------------------
Comment (by vrusinov):
attachments are not working for some reason. Here's the patch I've used to
fix setup.py:
{{{
--- setup.py.orig 2012-04-11 07:20:37.000000000 +0400
+++ setup.py 2012-04-11 11:33:18.484629766 +0400
@@ -9,9 +9,13 @@
import glob, os, re, sys
-egg = os.path.realpath(glob.glob('setuptools-*.egg')[0])
-sys.path.insert(0, egg)
-import setuptools; setuptools.bootstrap_install_from = egg
+eggs = glob.glob('setuptools-*.egg')
+if eggs:
+ egg = os.path.realpath(glob.glob('setuptools-*.egg')[0])
+ sys.path.insert(0, egg)
+ import setuptools; setuptools.bootstrap_install_from = egg
+else:
+ import setuptools
from setuptools import Extension, find_packages, setup
}}}
Or is may be required to include setuptools egg to tarball. But I don't
see why this may be necessary - it only adds more maintenance overhead.
After applying this patch and adding missing README.rst and zfec/fec.h it
builds fine.
--
Ticket URL: <http://tahoe-lafs.org/trac/zfec/ticket/15#comment:1>
zfec <https://tahoe-lafs.org/trac/zfec>
efficient erasure-coding library
More information about the tahoe-lafs-trac-stream
mailing list