1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2024-10-26 07:55:06 +03:00
Commit Graph

186 Commits

Author SHA1 Message Date
Martin Kletzander
751e016f09 Change livbirt version to 1.3.0 for the next release
Since the background for Admin API is merged upstream, we are bumping
the minor release version as discussed previously

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2015-06-16 14:02:56 +02:00
Jiri Denemark
cc72783dde Post-release version bump to 1.2.17 2015-06-05 11:35:52 +02:00
Jim Fehlig
7211c4aaa3 Fix duplicate entries in AUTHORS
The generated AUTHORS file contains many duplicates.  If an author
has N commits, there will be N entries for the author in AUTHORS.
Check if an author already exists in the list before appending.
While at it, add a .mailmap (derived from libivrt's .mailmap) to
futher tidy the generated AUTHORS list.
2015-05-28 14:50:51 -06:00
Peter Krempa
36737505c4 Post-release version bump to 1.2.16 2015-05-11 10:48:51 +02:00
Victor Stinner
0584ac3f29 libvirt-python: add classifiers to setup.py
Add the Python 3 classifier, needed by the caniusepython3 tool to check
if dependencies of a projects are Python 3 compatible:

    https://caniusepython3.com/
2015-04-22 16:45:14 +01:00
Jiri Denemark
17330a8314 Post-release version bump to 1.2.15
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2015-04-02 10:50:46 +02:00
Pavel Hrdina
52c6643404 Post-release version bump to 1.2.14
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2015-03-19 14:18:21 +01:00
Daniel P. Berrange
9ef9794a3e Post-release version bump to 1.2.13 2015-01-27 14:07:10 +00:00
Michal Privoznik
1598bd7dd5 Bump version to 1.2.12 for new dev cycle
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-12-16 14:09:25 +01:00
John Ferlan
f1c079ccc0 Bump version to 1.2.11 for new dev cycle 2014-11-03 10:41:27 -05:00
Pavel Hrdina
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
Pavel Hrdina
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
Michal Privoznik
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
Eric Blake
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
Martin Kletzander
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
Martin Kletzander
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
Martin Kletzander
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
Laine Stump
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
Daniel P. Berrange
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
Cole Robinson
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
Cole Robinson
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
Cole Robinson
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
Cole Robinson
61529f54d2 setup.py: Remove unused import 2014-03-25 13:37:02 -04:00
Daniel P. Berrange
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
Daniel P. Berrange
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
Daniel Veillard
4382fc518c Release of libvirt-python 1.2.2 2014-03-02 22:42:36 +08:00
Daniel Veillard
c8e1ae3ecd Release of libvirt-python-1.2.1 2014-01-16 17:33:29 +08:00
Doug Goldstein
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
Doug Goldstein
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
Daniel P. Berrange
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
Martin Kletzander
e81d4dce75 Make setup.py executable
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2013-11-26 14:33:31 +01:00
Daniel P. Berrange
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
Doug Goldstein
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
Doug Goldstein
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
Doug Goldstein
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
Daniel P. Berrange
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