Phil Rittenhouse
unread,Jan 6, 2011, 10:14:04 AM1/6/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyffmpeg-dev
I think I found a small bug in setup.py
In r36 of setup.py 'avutil' was added to the libs tuple making the
addition of 'avutil' in line 90 (for windows) redundant
Then in May 19 in Git the libs tuple was changed to a list. This
results in the following error on windows:
Traceback (most recent call last):
File "setup.py", line 90, in <module>
libs = static_resolver(libs + ('avutil',))
TypeError: can only concatenate list (not "tuple") to list
I think the cleanest fix is to simply change the code from
if platform == 'win32':
libs = static_resolver(libs + ('avutil',))
libinc += [ r'/mingw/lib' ] # why my mingw is unable to find
libz2?
to
if platform == 'win32':
libs = static_resolver(libs)
libinc += [ r'/mingw/lib' ] # why my mingw is unable to find
libz2?
Thanks,
Phil