summaryrefslogtreecommitdiff
path: root/source3/python/README
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-08-21 23:28:41 +0000
committerTim Potter <tpot@samba.org>2002-08-21 23:28:41 +0000
commit16b454f6c768cea3132d54bb75348ea8c60b5d35 (patch)
tree8468ab3a9777d2c5afaa83cb9607cc75da97e158 /source3/python/README
parent39966b7e167736e34874fc0523298877490e0a65 (diff)
downloadsamba-16b454f6c768cea3132d54bb75348ea8c60b5d35.tar.gz
samba-16b454f6c768cea3132d54bb75348ea8c60b5d35.tar.bz2
samba-16b454f6c768cea3132d54bb75348ea8c60b5d35.zip
Added README written by Jelmer - thanks!
(This used to be commit f639eb3817b9edf421dc103394428d607857a0bb)
Diffstat (limited to 'source3/python/README')
-rw-r--r--source3/python/README48
1 files changed, 48 insertions, 0 deletions
diff --git a/source3/python/README b/source3/python/README
new file mode 100644
index 0000000000..f751046376
--- /dev/null
+++ b/source3/python/README
@@ -0,0 +1,48 @@
+Quick Install Guide
+--
+Lines prepended with a $ indicate shell commands.
+
+1. Requirements
+
+In order to be able to compile samba-python you need to have
+python and the python-dev packages installed.
+
+2. Checking out the CVS HEAD branch of Samba and Samba-Python
+
+In your shell, type:
+
+$ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot login
+
+When asked for a password, type 'cvs'.
+
+Now, type:
+
+$ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co samba
+
+This might probably take a while. When everything is downloaded,
+check out the samba-python tree:
+
+$ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co samba-python
+
+Now that you have both cvs modules, move the directory 'samba-python' to
+inside the samba source tree, using:
+
+$ mv samba-python samba/source/python
+
+Now, go to the samba/source directory and apply the samba-head.patch patch:
+
+$ cd samba/source && patch -p0 < location/to/samba-python/samba-head.patch
+
+You can now configure samba as usual and create the python extension:
+
+$ autoconf
+$ ./configure
+$ make python_ext
+
+Now, you can install the modules:
+
+$ cp build/lib.*/*.so /usr/lib/python2.1/lib-dynload/
+
+(the directory /usr/lib/python2.1 may vary, depending on your installation)
+
+Samba-python should work now!