~ubuntu-branches/ubuntu/precise/pyzmq/precise

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Package Import Robot
  • Author(s): Julian Taylor, Julian Taylor
  • Date: 2012-02-19 14:53:20 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: package-import@ubuntu.com-20120219145320-u8un3j0q1e82dx01
[ Julian Taylor ]
* New upstream release (Closes: #655793)
* added myself to Uploaders
* properly clean to allow building twice in a row
* ignore testsuite result due to random failures on armel and mips
  probably caused by libzmq or toolchain
* add Python3 to short description of py3 packages
* wrap-and-sort debian/
* add python-nose to build depends to get better test result output
* add python-numpy to build depends to get more tests
* use githubredir.debian.net in debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
if sys.platform.startswith('win'):
85
85
    lib_ext = '.dll'
86
86
elif sys.platform == 'darwin':
87
 
    lib_ext = '.1.dylib'
 
87
    lib_ext = '.dylib'
88
88
else:
89
 
    lib_ext = '.so.1'
 
89
    lib_ext = '.so'
90
90
 
91
91
# whether any kind of bdist is happening
92
92
doing_bdist = any(arg.startswith('bdist') for arg in sys.argv[1:])
250
250
            print ("    Custom ZMQ dir:       %s" % (ZMQ,))
251
251
            config = detect_zmq(self.tempdir, **settings)
252
252
        except Exception:
253
 
            etype = sys.exc_info()[0]
 
253
            etype, evalue, tb = sys.exc_info()
 
254
            # print the error as distutils would if we let it raise:
 
255
            print ("error: %s" % evalue)
254
256
            if etype is CompileError:
255
257
                action = 'compile'
256
258
            elif etype is LinkError:
257
259
                action = 'link'
258
260
            else:
259
 
                action = 'run'
 
261
                action = 'build or run'
260
262
            fatal("""
261
263
    Failed to %s ZMQ test program.  Please check to make sure:
262
264