dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #26499
Re: [Branch ~dolfin-core/dolfin/trunk] Rev 7559: Remove generated docstrings from repository
On 03/21/2013 03:36 PM, Anders Logg wrote:
> On Thu, Mar 21, 2013 at 02:49:48PM +0100, Johan Hake wrote:
>> Interesting!
>> Will you add a hook for autogenerate these in the cmake script or
>> something a user need to do once to bootstrap a code checkout?
>
> Yes, something will be needed. Johannes suggested to add it to the
> build system. Perhaps it would be enough to run it as part of the
> first cmake step?
Yes, but it is not necessary unless files have been added to:
dolfin/foo/dolfin_foo.h
files or if it has not been run at all of course.
>> Also while you're at it, you can also remove:
>> dolfin/swig/module*
>
> You mean dolfin/swig/modules/foo/*?
Yes. These are all automatically generated with the
generate-swig-interface.
Johan
>> For now you might want to keep the directories, as I think the script
>> generate-swig-interface
>> assume these directories exists (easy fix to not assume that)
>> and you can remove:
>> site-packages/dolfin/compilemodules/swigimportinfo.py
>> which is also generated by
>> generate-swig-interface.
>
> ok, done.
>
> --
> Anders
>
References