summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Use proper python versionMartin Kletzander2014-02-121-1/+1
| | | | | | | | | | | | | since we work with python2 only, mentioning it in all shebangs make the commands from git work even when python3 is set as default. This also fixes one test where command being ran is 'virt-xml' through subprocess.Popen(). While at that, add '-tt' where possible in order to make everyone use same indentation characters. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* pylint: Don't use space after 'print'Martin Kletzander2014-02-121-3/+3
| | | | Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* setup: Add tests --regenerate-outputCole Robinson2014-02-031-0/+3
| | | | | Static variable is too dangerous (notice I forgot to unset it with a recent commit)
* virt-xml: Initial commit, basic set of testsCole Robinson2014-01-251-5/+8
|
* Rename hide_unsupported_rhel_options to stable_defaults and clean-up its usageMartin Kletzander2014-01-211-7/+7
| | | | | | | | | | | | There were multiple problems with the setting and usage of hide_unsupported_rhel_options. Due to the fact that the option has several diferent namings throughout the code, this patch is renaming it to stable_defaults, which basically says what the option does and makes it possible to use it without need for more than one negation (where the old code had up to 4 of them in some places), which also helps understanding it. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* set cov as None if python-coverage not installedChen Hanxiao2014-01-111-0/+1
| | | | | | | | If we didn't install python-coverage, we could not run 'python setup.py test'. This patch fixes this little bug. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* headers: update "Red Hat, Inc." copyright for the year 2013Giuseppe Scrivano2013-10-281-0/+1
| | | | | | | | | | Ensure that any file touched by a @redhat.com author in 2013 has an updated copyright header. The files were updated using the build-aux/update-copyright gnulib script and manually added where the copyright line wasn't present. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* setup: Store canonical configure defaults in virtcliCole Robinson2013-10-021-20/+28
|
* tests: Add test_initrd_inject commandCole Robinson2013-09-281-1/+31
| | | | | | | This is a standalone test like test_urls, and requires interraction. It pulls down a bunch of kernels from public URL trees, inject known kickstarts that induce quick failure. User inspects the output to ensure initrd inject is working as expected.
* test_urls: Fix --path optionCole Robinson2013-09-261-7/+2
|
* test_urls: Use multiple unittests, not a single big oneCole Robinson2013-09-261-6/+4
|
* tests: Fix and update test_urlsCole Robinson2013-09-251-5/+5
|
* Distribute appdata xml (bz 1011120)Cole Robinson2013-09-241-0/+1
| | | | More info: http://people.freedesktop.org/~hughsient/appdata/
* man: Fix a build error, misc improvementsCole Robinson2013-08-181-3/+7
|
* setup.py: Add test --only optionCole Robinson2013-07-131-9/+29
| | | | Allows running only tests that match the passed string.
* tests: Add --coverage option to print a reportCole Robinson2013-07-021-13/+26
|
* setup.py: Change default-graphics from spice->vncCole Robinson2013-05-271-2/+2
| | | | | It's still changeable with 'configure', but this makes the unconfigured default in line with what modern distros should use.
* setup.py: Fix sdistCole Robinson2013-04-271-1/+1
|
* setup: Drop use of python-distutils-extraCole Robinson2013-04-181-40/+97
| | | | | | | | The only bits were were using was the icon installation and translation building, which amounted to about 70 lines of code. Just steal it so we can avoid the dep which will cause trouble for future RHEL.
* Remove virt-manager-tuiCole Robinson2013-04-181-22/+5
| | | | | | | | | Was originally added with hopes for being used in an ovirt related product, but was more or less a code dump, and the author has been allocated to other things. He confirmed it's okay to remove. That, and it's currently broken, and we've had approximately 0 user feedback since it was committed.
* Port from gconf to gsettingsCole Robinson2013-04-181-1/+2
| | | | | | | | | | This unfortunately has a decent amount of fallout: add a wrapper class in config.py that reduces much of the churn. Another big piece is that gsettings can't accept arbitrary paths like gconf would, everything needs to be described in the schema. Also do a bunch more RPM spec modernizing
* setup: Make it executableCole Robinson2013-04-171-0/+0
|
* Fix up some pylint from previous patchesCole Robinson2013-04-171-11/+10
|
* add option for snapshot-id suffix to __version__Gene Czarcinski2013-04-171-8/+33
| | | | | | | | | | | | | | 1. The added suffix is in the form YYYYMMDD and that is all. 2. Code is added to classes my_sdist and my_rpm to check if a snapshot id is requested (--snapshot or -s) and, if requested, to append the id to the value of cliconfig.__version__ 3. The added suffix only applies to the name of the sdist-tarball and the rpm spec file it includes ... the "internal" version remains unchanged. . Signed-off-by: Gene Czarcinski <gene@czarc.net>
* add user setable version using configureGene Czarcinski2013-04-171-0/+3
| | | | | | | | | 1. update setup.py-configure to add keyword pkgversion 2. If pkgversion is specified in cli.cfg, update __version__ with its value. . Signed-off-by: Gene Czarcinski <gene@czarc.net>
* automate @VERSION@ in virt-manager.specGene Czarcinski2013-04-171-1/+16
| | | | | | | | | | | | This update renames virt-manager.spec to be virt-manager.spec.in and changes the version-id to @VERSION@ ... setup.py is modified to copy the virt-manager-spec.in file to virt-manager.spec and replace @VERSION@ with the current/actual version id. .gitignore is updated to ignore virt-manager.spec . Signed-off-by: Gene Czarcinski <gene@czarc.net>
* Remove unused Tui/importblacklistCole Robinson2013-04-151-2/+0
| | | | We will solve the same problem with unittests
* setup: Make 'install' work even if 'configure' wasn't runCole Robinson2013-04-141-1/+1
|
* tests: Replace 'scriptimports' with a much simpler methodCole Robinson2013-04-131-1/+0
|
* Revive pep8 and clean up the codeCole Robinson2013-04-131-10/+16
| | | | autopep8 is pretty cool :)
* Use an RC file for pylintCole Robinson2013-04-131-32/+1
| | | | Will let use tweak things easier in the future
* Tons of misc pylint fixesCole Robinson2013-04-131-2/+3
|
* pylint: Disable 'Use of property on old style class' warningCole Robinson2013-04-121-1/+4
| | | | | pylint can't handle the fact that our Gtk subclasses _are_ new style classes.
* setup.py: Re-add 'pylint' subcommandCole Robinson2013-04-121-0/+54
| | | | We drop our hacky shell wrappers, and just track it all in setup.py
* Fix wrapper scriptsCole Robinson2013-04-101-1/+1
| | | | Reported-by: Gene Czarcinski <gene@czarc.net>
* setup: Make sure non-/usr prefix worksCole Robinson2013-04-101-0/+27
| | | | | Basically mandate that configure is passed a prefix, since we need this info before the install process.
* Install virtcli directoryGene Czarcinski2013-04-101-0/+2
|
* Autogenerate POTFILES.inCole Robinson2013-04-031-1/+38
|
* Make RPM build workCole Robinson2013-04-031-13/+73
| | | | And wire up man page creation
* Wire up python unit tests, unify gettext setupCole Robinson2013-04-031-1/+128
|
* Remove autotools, replace with distutils-extraCole Robinson2013-04-031-0/+205
Despite being a known quantity, autotools is so overkill for our needs, so let's drop it and replace it with a much simpler and easy to customize system.