Closed macosforgebot closed 10 years ago
tk@… originally submitted this as attachment:CalendarServer.diff:ticket:821
Patch fixing the described issues.
exarkun@… originally submitted this as comment:1:ticket:821
is nevow actually a CalendarServer dependency? It looks like it may have once been but the html generation code I see in CalendarServer now uses twisted.web.template
instead. I can't find any imports from the nevow package.
Perhaps the fix for Nevow in this patch should instead be to entirely drop it as a dependency from the build system.
exarkun@… originally submitted this as attachment:dep-fixes-without-nevow.patch:ticket:821
previous patch, updated to apply against HEAD and to delete the nevow dependency instead of trying to fix it
@wsanchez originally submitted this as comment:4:ticket:821
IIRC we import nevow
because of pydoctor
, to make support/gendocs
work.
@wsanchez originally submitted this as comment:5:ticket:821
@wsanchez originally submitted this as comment:6:ticket:821
build system is now all about using pip for python stuff; all of this has been replaced.
tk@… originally submitted this as ticket:821
I'm currently trying to package CalendarServer for pkgsrc, and as a first step, I've made packages for the dependencies and then tried making CalendarServer accept them. For this, I needed the attached patches.
The first one fixes the detection of Nevow and PyCrypto -- the 'import' module names are slightly different than CalendarServer expects.
Additionally, I've added support to use pkg_resources to recognize modules. This helped finding some other modules (sorry, forgot which).