[skeleton] Have setuptools install data files
authorDenis Laxalde <denis.laxalde@logilab.fr>
Wed, 05 Oct 2016 09:56:26 +0200
changeset 11697 7b6c3cb0e103
parent 11696 4d80c6c70c4b
child 11698 9ea50837bc58
[skeleton] Have setuptools install data files Just add `include_package_data=True` as recommended by `setuptools documentation`_ as this appears to be the simplest way to handle this. Related to #13001466. .. _`setuptools documentation`: \ http://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files
cubicweb/skeleton/setup.py.tmpl
--- a/cubicweb/skeleton/setup.py.tmpl	Wed Oct 05 09:52:02 2016 +0200
+++ b/cubicweb/skeleton/setup.py.tmpl	Wed Oct 05 09:56:26 2016 +0200
@@ -72,6 +72,7 @@
     classifiers=classifiers,
     packages=find_packages(exclude=['test']),
     install_requires=install_requires,
+    include_package_data=True,
     entry_points={
         'cubicweb.cubes': [
             '%(cubename)s=cubicweb_%(cubename)s',