Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vici: Make installation of Ruby Gem and Python Egg optional | Tobias Brunner | 2015-05-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | Installing them might not work well when building distro packages (e.g. with DESTDIR installs). It might be easier to install them later with a script in the distro package. When building from source on the local system it could still be useful to install the packages directly, which can be enabled with separate configure options. The main problem with DESTDIR installations of the Python Egg is that easy_install creates or modifies a file called easy-install.pth in the installation directory. So it's not actually possible to simply copy the results in DESTDIR over to the actual system as that file would have to be merged with any existing one. Fixes #914. | ||||
* | vici: Support out-of-tree build of Python Egg | Tobias Brunner | 2015-05-21 | 1 | -5/+5 |
| | | | | | | | We also don't require setup.py to exist during cleanup, as e.g. with make distcheck the source directory is not writable when the build directory is cleaned, so setup.py can't be created (to just get removed again anyway if VICI and the Python Eggs haven't been enabled previously). | ||||
* | vici: Add support for python 3 | Björn Schuberg | 2015-03-18 | 5 | -8/+29 |
| | |||||
* | vici: Execute python tests during "check" if py.test is available | Martin Willi | 2015-03-18 | 1 | -0/+4 |
| | |||||
* | vici: Add test of Packet layer in python library | Björn Schuberg | 2015-03-18 | 1 | -1/+47 |
| | |||||
* | vici: Add test of Message (de)serialization in python library | Björn Schuberg | 2015-03-18 | 3 | -0/+100 |
| | |||||
* | vici: Evaluate Python streamed command results, and raise CommandException | Martin Willi | 2015-03-18 | 1 | -1/+10 |
| | |||||
* | vici: Catch Python GeneratorExit to properly cancel streamed event iteration | Martin Willi | 2015-03-18 | 1 | -1/+7 |
| | |||||
* | vici: Return a Python generator instead of a list for streamed responses | Martin Willi | 2015-03-18 | 1 | -43/+21 |
| | | | | | | | In addition that it may reduce memory usage and improve performance for large responses, it returns immediate results. This is important for longer lasting commands, such as initiate/terminate, where immediate log feedback is preferable when interactively calling such commands. | ||||
* | vici: Raise a Python CommandException instead of returning a CommandResult | Martin Willi | 2015-03-18 | 2 | -82/+42 |
| | |||||
* | vici: Use OrderedDict to handle vici responses in Python library | Martin Willi | 2015-03-18 | 1 | -2/+3 |
| | | | | | The default Python dictionaries are unordered, but order is important for some vici trees (for example the order of authentication rounds). | ||||
* | vici: Support non-Unix sockets for vici connections using Python | Martin Willi | 2015-03-18 | 2 | -7/+9 |
| | |||||
* | vici: Add python egg setuptools building and installation using easy_install | Martin Willi | 2015-03-18 | 1 | -0/+15 |
| | | | | | | An uninstall target is currently not supported, as there is no trivial way with either plain setuptools or with easy_install. pip would probably be the best choice, but we currently don't depend on it. | ||||
* | vici: Generate a version specific setup.py for setuptools installation | Martin Willi | 2015-03-18 | 3 | -0/+41 |
| | |||||
* | vici: Include python package in distribution | Martin Willi | 2015-03-18 | 1 | -0/+5 |
| | |||||
* | vici: Add python package MIT license | Björn Schuberg | 2015-03-18 | 2 | -0/+20 |
| | |||||
* | vici: Expose Session as a top-level symbol in python package | Björn Schuberg | 2015-03-18 | 1 | -0/+1 |
| | |||||
* | vici: Introduce main API Session class in python package | Björn Schuberg | 2015-03-18 | 1 | -1/+244 |
| | |||||
* | vici: Add a python vici command execution handler | Björn Schuberg | 2015-03-18 | 2 | -1/+134 |
| | |||||
* | vici: Add vici python protocol handler | Björn Schuberg | 2015-03-18 | 4 | -0/+199 |