• Description
  • Patches
id

5

publisher

goffi@goffi.org/856ea3c0-b59f-4745-bc4a-952a2ff823a9

title
Fix setup.py: add take care of all .kv files.
author
Jnanar
created
2018-05-27T09:36:42Z
updated
2018-06-01T13:12:59Z
labels
cagou
status
closed
body

Add a manifest for non python data (kv files)

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.merge_requests%3A0_CNCjvRbhmv2RfwiMMCscM2

Click to reduce…

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.

Click to expand… Click to reduce…

Click to reduce…

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

Click to expand… Click to reduce…

You are not logged. You need to log in to comment.

Arnaud Joset

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',
       )