aboutsummaryrefslogtreecommitdiffstats
path: root/tools/sv
Commit message (Collapse)AuthorAgeFilesLines
* tools: Always use sane upstream (`native') python pathsKeir Fraser2009-04-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, by default we would install our python modules into /usr/lib/python/xen, for example /usr/lib/python/xen/__init__.py. Upstream python's standard install location (a) includes the Python version number and (b) puts things in site-packages by default. Our best conjecture for the reason for this was an attempt to make the installs portable between different python versions. However, that doesn't work because compiled python modules (.pyc), and C python extensions corresponding to one version of python, are not compatible across different versions of python. This is why upstream include the version number. site-packages is the standard location for locally-installed packages and is automatically included on the python search path. In this change, we abandon our own unusual python path setup: * Invoke setup.py in an entirely standard manner. We pass PREFIX and DESTDIR using the appropriate options provided by setup.py for those purposes (adding them to setup.py calls which were previously lacking them). * Since the installation locations are now on the standard python path, we no longer need to add anything to the path in any of our python utilities. Therefore remove all that code from every python script. (Many of these scripts unconditionally added /usr/lib/python and /usr/lib64/python which is wrong even in the old world.) * There is no longer any special `Xen python path'. xen-python-path is no longer needed. It is no longer called by anything in our tree. However since out-of-tree callers may still invoke it, we retain it. It now prints a fixed string referring to a directory which does not to exist; callers (who use it to augment their python path) will thus add a nonexistent directory to their python path which is harmless. * Remove various workarounds including use of setup.py --home (which is intended for something completely different). * Remove tests for the XEN_PYTHON_NATIVE_INSTALL build-time environment variable. The new behaviour is the behaviour which we should have had if this variable had been set. That is, it is now as if this variable was always set but also bugs in the resulting install have been fixed. This should be a proper fix for the bug addressed by c/s 19515. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* build: Clean up use of .PHONYkaf24@firebug.cl.cam.ac.uk2006-04-101-0/+1
| | | | | | | | | | | | * Move .PHONY directives next to targets, this makes them a lot harder to miss * Add missing .PHONY directives * Remove nonexistent .PHONY directives * Hopefully I didn'T miss anything... Signed-Off-By: Horms <horms@verge.net.au>
* Updates to SV. New look. Removed and simplified lots of files.twilkie@paploo.uk.xensource.com2005-08-099-176/+110
|
* Get rid of internet_copy.jpg once more.cl349@firebug.cl.cam.ac.uk2005-07-271-0/+0
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Rename file with space in name.cl349@firebug.cl.cam.ac.uk2005-07-271-0/+0
| | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : tools/sv/images/internet copy.jpg => tools/sv/images/internet_copy.jpg
* Add XenSV back into the repository.twilkie@paploo.uk.xensource.com2005-07-2624-0/+229
| | | | | | Now uses Python Server Pages, not twisted.
* bitkeeper revision 1.1542.1.1 (42943a71LGhR_dI1LOX6lKtJ08zzTA)cl349@firebug.cl.cam.ac.uk2005-05-2527-91/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setup.py, Makefile: Remove XenSV -- it's been broken since twisted was removed. Many files: Delete: tools/misc/xensv Delete: tools/python/xen/sv/params.py Delete: tools/python/xen/sv/__init__.py Delete: tools/python/xen/sv/MigrateDomain.py Delete: tools/python/xen/sv/Daemon.py Delete: tools/python/xen/sv/util.py Delete: tools/python/xen/sv/Wizard.py Delete: tools/python/xen/sv/TabView.py Delete: tools/python/xen/sv/SaveDomain.py Delete: tools/python/xen/sv/RestoreDomain.py Delete: tools/python/xen/sv/NodeInfo.py Delete: tools/python/xen/sv/Main.py Delete: tools/python/xen/sv/HTMLBase.py Delete: tools/python/xen/sv/GenTabbed.py Delete: tools/python/xen/sv/DomList.py Delete: tools/python/xen/sv/DomInfo.py Delete: tools/python/xen/sv/CreateDomain.py Delete: tools/sv/images/unpause.png Delete: tools/sv/images/small-unpause.png Delete: tools/sv/images/small-pause.png Delete: tools/sv/images/small-destroy.png Delete: tools/sv/images/shutdown.png Delete: tools/sv/images/seperator.jpg Delete: tools/sv/images/right-end-highlight.jpg Delete: tools/sv/images/reboot.png Delete: tools/sv/images/previous.png Delete: tools/sv/images/pause.png Delete: tools/sv/images/orb_02.jpg Delete: tools/sv/images/next.png Delete: tools/sv/images/middle-no-highlight.jpg Delete: tools/sv/images/middle-highlight.jpg Delete: tools/sv/images/left-end-no-highlight.jpg Delete: tools/sv/images/left-end-highlight.jpg Delete: tools/sv/images/finish.png Delete: tools/sv/images/destroy.png Delete: tools/sv/inc/style.css Delete: tools/sv/images/seperator-right-highlight.jpg Delete: tools/sv/images/seperator-left-highlight.jpg Delete: tools/sv/inc/script.js Delete: tools/sv/images/right-end-no-highlight.jpg Delete: tools/sv/images/orb_01.jpg Delete: tools/sv/Makefile Delete: tools/sv/Main.rpy Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* bitkeeper revision 1.1159.234.1 (41f9203a3hESfmWBG29VVoqa-chOrA)cl349@arcadians.cl.cam.ac.uk2005-01-271-3/+5
| | | | | | | Build system cleanups. Signed-off-by: c@pin.lu
* bitkeeper revision 1.1159.223.26 (41f2cdb6LNpheOtPoAKEUn-czlZFig)iap10@labyrinth.cl.cam.ac.uk2005-01-221-7/+7
| | | | | | | | | | | | | Description: use DESTDIR correctly Standard makefiles always attempt to install to the root(/). Setting DESTDIR is the normal way to install to an alternative location. Setting prefix has the possibility of breaking programs, as the prefix may have been embedded inside a compiled binary. From: Adam Heath <doogie@brainfood.com> Signed-off-by: ian.pratt@cl.cam.ac.uk
* bitkeeper revision 1.1159.223.23 (41f2c9e33H5dJn6K7RN-o2UASMwI3Q)iap10@labyrinth.cl.cam.ac.uk2005-01-221-1/+1
| | | | | | | | Description: Use FHS-compatible paths From: Adam Heath <doogie@brainfood.com> Signed-off-by: ian.pratt@cl.cam.ac.uk
* bitkeeper revision 1.1159.223.18 (41f2c6eamwtTkjdrv4CuL1WnOy4iGw)iap10@labyrinth.cl.cam.ac.uk2005-01-221-8/+10
| | | | | | | | | | | Description: use INSTALL everywhere Use install(by way of INSTALL variables) to create directories, install programs, and install data files. From: Adam Heath <doogie@brainfood.com> Signed-off-by: ian.pratt@cl.cam.ac.uk
* bitkeeper revision 1.1159.1.294 (4180c875SLNksrza17zCYoYyptjEyA)cl349@freefall.cl.cam.ac.uk2004-10-281-44/+20
| | | | | | Makefile: Make install a lot less noisy and cleanup.
* bitkeeper revision 1.1159.32.1 (4120b0e7LRYrL1B3ICa0Qkit5txAbQ)tw275@labyrinth.cl.cam.ac.uk2004-08-166-0/+12
| | | | | | | Added error checking, small button on domain list, updated to be compatible with latest xend, and some small changes to domain creation.
* bitkeeper revision 1.1108.30.3 (4107c922o_Bx20-5N8PsVBcjjHYmQA)tw275@labyrinth.cl.cam.ac.uk2004-07-282-1/+2
| | | | | More work on wizard
* bitkeeper revision 1.1108.19.1 (41052eba3ZVcoufgBgwBIOi8WV_BbQ)tw275@labyrinth.cl.cam.ac.uk2004-07-263-0/+3
| | | | | | | Started to implement the Create Domain Wizzard. Doesn't work yet (along way off). Slight refactoring of other code to make it more extensible
* bitkeeper revision 1.1108.1.21 (4104ffcb0fLoE7HIdNvUGJI49n_Sxg)tw275@labyrinth.cl.cam.ac.uk2004-07-263-0/+2
| | | | | | | Added menu writing, improving the menu on the left of the page, and gerneralized getDomInfoHash, should work with upgraded versions of xend
* bitkeeper revision 1.1108.13.1 (41013a844lXqlHgR5n6-9AZ5s3WCsQ)tw275@labyrinth.cl.cam.ac.uk2004-07-235-1/+22
| | | | | | Added general support for actions Slightly generalized and refactored code for modules / tabs
* bitkeeper revision 1.1108.2.20 (4100050ee2rhUkBYDjTlzUWJXwt3Dg)cl349@freefall.cl.cam.ac.uk2004-07-221-17/+16
| | | | | make 'make install' work more than once if the installed files are not writable
* bitkeeper revision 1.1108.2.16 (40ffbcb9BiiQEdm3tM2wR3kHhi0avQ)tw275@labyrinth.cl.cam.ac.uk2004-07-2215-0/+73
Changed location of sv - http share sits at /var/xen/sv while python files have been move out of xend