Commit a4f8e9ce authored by David Douard's avatar David Douard
Browse files

[setup] fix CWDevelop to keep compat with python 2.7

in Python, 2.7, setuptools.command.develop.develop is an old style class, thus
it cannot be called with super.
parent b57b76091481
......@@ -170,7 +170,7 @@ class CWDevelop(develop.develop):
cubespath = join(sys.prefix, 'share', 'cubicweb', 'cubes')
self.warn('develop command does not install (legacy) cubes directory (%s)'
% cubespath)
return super(CWDevelop, self).run()
return develop.develop.run(self)
# re-enable copying data files in sys.prefix
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment