<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/meson.git/packaging/create_zipapp.py, branch cppmodules</title>
<subtitle>github.com: mesonbuild/meson.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/'/>
<entry>
<title>Add script to create a zipapp.</title>
<updated>2020-11-27T16:12:08+00:00</updated>
<author>
<name>Eli Schwartz</name>
<email>eschwartz@archlinux.org</email>
</author>
<published>2020-11-24T20:41:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=0fa808f7066d20047c0576da064bcc105053c401'/>
<id>0fa808f7066d20047c0576da064bcc105053c401</id>
<content type='text'>
Invoke create_zipapp.py from the root of the repository and it will
create a minimal zipapp with only the mesonbuild module code and a
__main__.py directly copied from meson.py

The meson.py launcher already tracks the desired entry point, and its
only other effect is to add the mesonbuild directory to the path if it
exists, which it won't in the zipapp. So there's no need to duplicate
this into another __main__.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Invoke create_zipapp.py from the root of the repository and it will
create a minimal zipapp with only the mesonbuild module code and a
__main__.py directly copied from meson.py

The meson.py launcher already tracks the desired entry point, and its
only other effect is to add the mesonbuild directory to the path if it
exists, which it won't in the zipapp. So there's no need to duplicate
this into another __main__.py
</pre>
</div>
</content>
</entry>
</feed>
