J
John Nagle
Most of the documentation for "setup.py" assumes you're packaging a
library module. (Ref: "http://docs.python.org/distutils/setupscript.html")
How do you properly package an application? What happens
on "setup.py install"? Where does the application get installed? Where does
the main program go?
If I package and build my app, it packages properly, and
unpacks and builds into
Messager1.0/build/lib
which is appropriate for a library, but not an application.
Here's the setup file.
distutils.core.setup(
name='Messager',
description="Baudot Teletype RSS and SMS program",
version='1.0',
author="John Nagle",
author_email="(e-mail address removed)",
packages=['messager'],
requires=['pyserial', 'feedparser']
)
John Nagle
library module. (Ref: "http://docs.python.org/distutils/setupscript.html")
How do you properly package an application? What happens
on "setup.py install"? Where does the application get installed? Where does
the main program go?
If I package and build my app, it packages properly, and
unpacks and builds into
Messager1.0/build/lib
which is appropriate for a library, but not an application.
Here's the setup file.
distutils.core.setup(
name='Messager',
description="Baudot Teletype RSS and SMS program",
version='1.0',
author="John Nagle",
author_email="(e-mail address removed)",
packages=['messager'],
requires=['pyserial', 'feedparser']
)
John Nagle