We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collections.OrderedDict was added to Python in version 2.7 making funnelweb not usable for Python 2.6 users.
collections.OrderedDict
A backport is available, so it should be easy to make funnelweb use that:
try: from collections import OrderedDict except ImportError: # python 2.6 or earlier, use backport from ordereddict import OrderedDict
and extend setup.py to add ordereddict to the install_requires list if from collections import OrderedDIct fails:
setup.py
ordereddict
install_requires
from collections import OrderedDIct
install_requires = [ 'setuptools', 'collective.transmogrifier', 'transmogrify.webcrawler>=1.1', 'transmogrify.siteanalyser>=1.2', 'transmogrify.htmlcontentextractor>=1.0', 'transmogrify.ploneremote>=1.2', 'mr.migrator>=1.0', ] try: from collections import OrderedDict except ImportError: # No OrderedDict, add `ordereddict` to requirements install_requires.append('ordereddict') setup( # everything else install_requires = install_requires, # and the rest )
The text was updated successfully, but these errors were encountered:
I've made those changes and committed that code. Waiting to release the packages.
Sorry, something went wrong.
Thanks Dylan! I probably should have filed this in the transmogrify.webcrawler package instead, but this worked, obviously.
transmogrify.webcrawler
The transmogrify.ploneremote package has the same problem (transmogrify/ploneremote/remoteprune.py). There may be more.
transmogrify.ploneremote
transmogrify/ploneremote/remoteprune.py
No branches or pull requests
collections.OrderedDict
was added to Python in version 2.7 making funnelweb not usable for Python 2.6 users.A backport is available, so it should be easy to make funnelweb use that:
and extend
setup.py
to addordereddict
to theinstall_requires
list iffrom collections import OrderedDIct
fails:The text was updated successfully, but these errors were encountered: