[saem-devel] [PATCH 2 of 2 eac] [pkg] move to new "cube as package" layout allowed by cubicweb 3.24
denis.laxalde at logilab.fr
Wed Feb 22 09:10:27 CET 2017
Sylvain Thenault a écrit :
> # HG changeset patch
> # User Philippe Pepiot <philippe.pepiot at logilab.fr>
> # Date 1487327035 -3600
> # Fri Feb 17 11:23:55 2017 +0100
> # Node ID 40f25699edb8f68c10caab0dbaaa4e42cc4b7f67
> # Parent 657ca7d69dc7619eb5a01c6f1bff18091421a8fe
> [pkg] move to new "cube as package" layout allowed by cubicweb 3.24
> Require setuptools for building rpm and debian package.
> Add a check-manifest test.
> diff --git a/MANIFEST.in b/MANIFEST.in
> --- a/MANIFEST.in
> +++ b/MANIFEST.in
> @@ -1,5 +1,13 @@
> -include *.py
> -include */*.py
> -recursive-include data *.gif *.png *.ico *.css *.js
> -recursive-include i18n *.po
> -recursive-include wdoc *
> +recursive-include cubicweb_eac/data *.gif *.jpg *.png *.ico *.css *.js *.xml
> +recursive-include test/data *.xml *.xsd *.rdf *.csv
> +include test/*.py test/*.rst test/data/bootstrap_cubes
> +include cubicweb_eac/i18n/*.po
> +include cubicweb_eac/i18n/*.pot
> +include cubicweb_eac/migration/*.py
> +include cubicweb_eac/scripts/*.py
These two could be replaced by "recursive-include cubicweb_eac *.py".
> +include doc/Makefile
> +include doc/*.rst *.py
> +include doc/*.py
The last one is redundant?
> +include __pkginfo__.py tox.ini
Actually, I'd rather prune top-level __pkginfo__.py which is a symlink
to circumvent an apycot limitation.
> +prune debian
> +prune cubicweb-eac.spec
More information about the saem-devel