<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 4, 2016 at 3:53 AM, Sergio Schvezov <span dir="ltr"><<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
El 03/10/16 a las 19:45, Omer Akram escribió:<span class="gmail-"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi!<br>
<br>
I have a very simple python application with a library part and a launcher. The library is being compile by the `python` plugin and I am copying the launcher with `dump` plugin. It works but it seems that the dump plugin copies all the undesired files in the root of my project into the final snap, I only want it to copy a single file. Is there a config that I can tell the plugin to only copy that specific file ?<br>
</blockquote>
<br></span>
Use filesets, stage or prime, or both.</blockquote><div><br></div><div>Is there an example on how a filesets line may look like, a grep on the playpen repository does not seem to match filesets ? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
To workaround that I created a new directory only containing my launcher and set it as source.<br>
</blockquote>
<br></span>
Is there anything wrong with this approach?</blockquote><div><br></div><div>Apart from a personal preference of keeping the cli on the root of my project, now the launcher does not work directly from the source code without adjusting its imports.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
</font></span></blockquote></div><br></div></div>