[PATCH] python: Move examples to python/ for repo breakout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In anticipation of the python bindings moving to their own repo and in
an effort to preserve history, move the examples within the python/
directory.
---
 Makefile.am                                                            | 3 +--
 configure.ac                                                           | 2 +-
 {examples/python => python/examples}/Makefile.am                       | 1 +
 {examples/python => python/examples}/README                            | 0
 {examples/python => python/examples}/consolecallback.py                | 0
 {examples/python => python/examples}/dominfo.py                        | 0
 {examples/python => python/examples}/domrestore.py                     | 0
 {examples/python => python/examples}/domsave.py                        | 0
 {examples/python => python/examples}/domstart.py                       | 0
 {examples/python => python/examples}/esxlist.py                        | 0
 .../domain-events/events-python => python/examples}/event-test.py      | 0
 {examples/python => python/examples}/topology.py                       | 0
 12 files changed, 3 insertions(+), 3 deletions(-)
 rename {examples/python => python/examples}/Makefile.am (97%)
 rename {examples/python => python/examples}/README (100%)
 rename {examples/python => python/examples}/consolecallback.py (100%)
 rename {examples/python => python/examples}/dominfo.py (100%)
 rename {examples/python => python/examples}/domrestore.py (100%)
 rename {examples/python => python/examples}/domsave.py (100%)
 rename {examples/python => python/examples}/domstart.py (100%)
 rename {examples/python => python/examples}/esxlist.py (100%)
 rename {examples/domain-events/events-python => python/examples}/event-test.py (100%)
 rename {examples/python => python/examples}/topology.py (100%)

diff --git a/Makefile.am b/Makefile.am
index 192a378..b84507d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@ GENHTML = genhtml
 
 SUBDIRS = . gnulib/lib include src daemon tools docs gnulib/tests \
   python tests po examples/domain-events/events-c examples/hellolibvirt \
-  examples/dominfo examples/domsuspend examples/python examples/apparmor \
+  examples/dominfo examples/domsuspend python/examples examples/apparmor \
   examples/xml/nwfilter examples/openauth examples/systemtap
 
 ACLOCAL_AMFLAGS = -I m4
@@ -40,7 +40,6 @@ EXTRA_DIST = \
   Makefile.nonreentrant \
   autogen.sh \
   cfg.mk \
-  examples/domain-events/events-python \
   run.in \
   AUTHORS.in \
   $(XML_EXAMPLES)
diff --git a/configure.ac b/configure.ac
index 6003871..05a0394 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2614,6 +2614,7 @@ AC_CONFIG_FILES([\
         po/Makefile.in \
         include/libvirt/Makefile include/libvirt/libvirt.h \
         python/Makefile \
+        python/examples/Makefile \
         daemon/Makefile \
         tools/Makefile \
         tests/Makefile \
@@ -2622,7 +2623,6 @@ AC_CONFIG_FILES([\
         examples/domsuspend/Makefile \
         examples/dominfo/Makefile \
         examples/openauth/Makefile \
-        examples/python/Makefile \
         examples/hellolibvirt/Makefile \
         examples/systemtap/Makefile \
         examples/xml/nwfilter/Makefile])
diff --git a/examples/python/Makefile.am b/python/examples/Makefile.am
similarity index 97%
rename from examples/python/Makefile.am
rename to python/examples/Makefile.am
index 7823c20..0e197d0 100644
--- a/examples/python/Makefile.am
+++ b/python/examples/Makefile.am
@@ -18,4 +18,5 @@ EXTRA_DIST=						\
 	README						\
 	consolecallback.py				\
 	topology.py					\
+	event-test.py				\
 	dominfo.py domrestore.py domsave.py domstart.py esxlist.py
diff --git a/examples/python/README b/python/examples/README
similarity index 100%
rename from examples/python/README
rename to python/examples/README
diff --git a/examples/python/consolecallback.py b/python/examples/consolecallback.py
similarity index 100%
rename from examples/python/consolecallback.py
rename to python/examples/consolecallback.py
diff --git a/examples/python/dominfo.py b/python/examples/dominfo.py
similarity index 100%
rename from examples/python/dominfo.py
rename to python/examples/dominfo.py
diff --git a/examples/python/domrestore.py b/python/examples/domrestore.py
similarity index 100%
rename from examples/python/domrestore.py
rename to python/examples/domrestore.py
diff --git a/examples/python/domsave.py b/python/examples/domsave.py
similarity index 100%
rename from examples/python/domsave.py
rename to python/examples/domsave.py
diff --git a/examples/python/domstart.py b/python/examples/domstart.py
similarity index 100%
rename from examples/python/domstart.py
rename to python/examples/domstart.py
diff --git a/examples/python/esxlist.py b/python/examples/esxlist.py
similarity index 100%
rename from examples/python/esxlist.py
rename to python/examples/esxlist.py
diff --git a/examples/domain-events/events-python/event-test.py b/python/examples/event-test.py
similarity index 100%
rename from examples/domain-events/events-python/event-test.py
rename to python/examples/event-test.py
diff --git a/examples/python/topology.py b/python/examples/topology.py
similarity index 100%
rename from examples/python/topology.py
rename to python/examples/topology.py
-- 
1.8.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]