1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-22 20:59:34 +03:00
Commit Graph

77 Commits

Author SHA1 Message Date
f1c079ccc0 Bump version to 1.2.11 for new dev cycle 2014-11-03 10:41:27 -05:00
02cc5d62bd setup.py: fix rpm build to return 1 on error
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2014-10-07 13:08:55 +02:00
c34113f9f6 Post-release version bump for new dev cycle
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2014-10-02 14:55:21 +02:00
8b12cb6f76 Post-release version bump for new dev cycle
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-09-02 11:04:58 +02:00
af803d2f9b Bump version to 1.2.8 for new dev cycle
Signed-off-by: Eric Blake <eblake@redhat.com>
2014-08-04 11:06:13 -06:00
f37d0c4f2b Bump version to 1.2.7 for new dev cycle
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-07-22 18:07:53 +02:00
b5e36a3958 Bump version to 1.2.6 for new dev cycle
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-06-02 06:55:47 +02:00
e8e1de7f1f Bump version to 1.2.5 for new dev cycle
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-05-05 15:46:47 +02:00
2419f29435 increment version post-release
As is now done with libvirt. git head will always have the version
number of the expected *next* release.
2014-04-07 15:33:24 +03:00
0eaf951979 Fix nosetests usage with python3
Add RPM deps on python/python3-nose, make RPM build run the
test suite and invoke nosetests using correct python binary

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2014-04-02 16:33:53 +02:00
a180fd981b setup.py: Allow running --help or clean without pkg-config
If pkg-config isn't installed, or a too old libvirt, we can't even
do 'python setup.py --help' without throwing an exception.

Have the pkg-config checks and validation only throw an exception if
being called from the 'build' step.

https://bugzilla.redhat.com/show_bug.cgi?id=1074170
2014-03-25 13:37:02 -04:00
115760f6f0 setup.py: Make have_libvirt_lxc a function
This means we call it twice for a build operation, but I don't think
that's a big deal.
2014-03-25 13:37:02 -04:00
cac45e1b1c setup.py: Move module list building to its own function
Makes it a bit more clear what all that code is used for, rather than
intermixing it with function definitions.

Besides the comment additions, this is a no-op and just reindents the
block, into a function.
2014-03-25 13:37:02 -04:00
61529f54d2 setup.py: Remove unused import 2014-03-25 13:37:02 -04:00
eaded7bdad Add support for running unit tests with nose
Make the 'python setup.py test' able to run unit tests
found under tests/ through the 'nosetests' command

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2014-03-19 15:16:15 +00:00
f738e4162e Post release version bump to 1.2.3
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2014-03-03 12:04:07 +00:00
4382fc518c Release of libvirt-python 1.2.2 2014-03-02 22:42:36 +08:00
c8e1ae3ecd Release of libvirt-python-1.2.1 2014-01-16 17:33:29 +08:00
3af0f02351 setup: Drop unused exception variable
Drop the unused exception variable in setup.py. This has the benefit
of dropping syntax that is not valid with Python 3.
2013-12-05 12:06:53 +00:00
9d9e2513c0 setup: Use user requested python binary
When setup.py is kicked off with a python interpreter other than the
system 'python', (e.g. python2.7 setup.py build) the build process would
switch to 'python' and not use python2.7 as requested by the user. We
should always respect the user requested python interpreter and use it.
2013-12-03 11:26:17 -06:00
4fe9994338 Improve quality of sanitytest check
Validate that every public API method is mapped into the python
and that every python method has a sane C API.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-11-28 13:37:55 +00:00
e81d4dce75 Make setup.py executable
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2013-11-26 14:33:31 +01:00
45eb6b995c Relax min required libvirt to version 0.9.11
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-11-22 15:59:39 +00:00
75666e2d3a Don't build LXC module when building less than 1.0.2
The functions that the LXC module wraps did not appear until 1.0.2 so we
can't build the module unless we're building against 1.0.2 or newer.
2013-11-22 15:58:06 +00:00
766f7433f0 Create array of modules to be built
Create an array of modules to be built to allow for flexibility to
enable or disable some modules in the future and allow for additional
modules to be added easily
2013-11-22 15:58:06 +00:00
3878fbd548 Break generator.py to be called per module
Since we don't always want to build all the modules, and there might be
more modules added in the future but we want to retain backwards
compatibility with older libvirts, change generator.py to be called once
per module instead of with all modules at once.
2013-11-22 15:58:06 +00:00
41562e063e Setup distutils build system
Create a setup.py for building libvirt python code and add
supporting files

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-11-22 15:58:06 +00:00