[PATCH 05 of 10 saem_ref] [doc] More content about skos and eac

Denis Laxalde denis.laxalde at logilab.fr
Tue Apr 11 15:24:22 CEST 2017


Sylvain Thénault a écrit :
>
>
> Le 11/04/2017 à 14:00, Denis Laxalde a écrit :
>> I've now a custom pkg-resources-include directive basically working but
>>> hit another problem: "doc" directory of dependencies is not considered
>>> as package's data and as such not available through the pkg_resources
>>> API. It seems that the only way would be to move doc within the python
>>> package directory. I don't like that but have no alternative idea. What
>>> do you think ?
>>
>>
>> I was looking at
>> https://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files
>>
>> Maybe tweaking "package_dir" would do the trick?
>>
> using it avoid actually moving the directory, but file still appears as
> in the python package from pkg_resources POV. Done that though, see
> csets in dependencies (eac, seda and saemref-client though I've stil an
> issue with this last one, dunno why).
>

Still not very nice. Alternatively, why not including documentation bits
in modules (like package's __init__.py)? I have no better idea and don't
really know which solution is better.



More information about the saem-devel mailing list