G

Fix setup.py: add take care of all .kv files.

Add a manifest for non python data (kv files)
G

goffi 27/05/2018 09:45

Hi, thank you for the patch, but the package_data have not been included on purpose, because source distribution must include files which must not be installed (e.g. buildozer.spec). So this patch is not the right way to fix the issue on Arch in my opinion.

G

goffi 01/06/2018 12:31

after talk with jnanar, .kv handling was right, so this is not needed, closing.

Vous n'êtes pas connecté⋅e. Merci de vous connecter pour commenter.

id

5

author

Jnanar

created

2018-05-27T09:36:42Z

updated

2018-06-01T13:12:59Z

labels
cagou
status
closed

Fix setup.py: add take care of all .kv files. Add a manifest for non python data (kv files)

diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,2 @@
+include *.kv
+recursive-include examples *.kv
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -80,5 +80,6 @@
       use_scm_version=cagou_dev_version if is_dev_version else False,
       install_requires=install_requires,
       package_data={'': ['*.kv'], 'cagou': ['VERSION']},
+      include_package_data=True,
       python_requires='~=2.7',
       )