Changeset 23:adc5b22efd7e in mailjam for setup.py


Ignore:
Timestamp:
May 22, 2012, 7:31:12 PM (12 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

Added the first version of the CLI client, which implements a shell-like
interface where users can interact with a mailjam server.

This first versions adds no "big" features, but contains the basis to build
a complete shell interface (including history saving support, completion,
help for commands, etc)

Added a custom configuration file (conf/mailjam-cli.conf) for the CLI
client.

Added a new mailjam.config class (CLIClientConfig) that is used by the CLI
client to load its configuration file.

Updated the package information (setup.py, MANIFEST) to include the CLI
client data.

Modified the behaviour of the XMLRPC methods registered in the *XMLRPC classes
within the daemon module. Now instead of raising exceptions directly, they
catch such exceptions, returning only a string representation of the error
to the XMLRPC client. If there is no error, a nice "ok" message is returned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r16 r23  
    2323    description='Mailing lists management software',
    2424    long_description=open('README').read(),
    25     scripts=['bin/mailjam-server', 'bin/mailjam-mta'],
     25    scripts=['bin/mailjam-server', 'bin/mailjam-mta', 'bin/mailjam-cli'],
    2626    #data_files=[(proper_etc_path()+'mailjam', ['conf/mailjam.conf',
    2727    #                                           'conf/mailjam-mta.conf']),
Note: See TracChangeset for help on using the changeset viewer.