|
Installation
InstallationNo compilation or binary packages are needed, just download source code and execute it! Currently, no external dependencies are required, but httplib2 (and eventually socksipy) could be used (instead of urllib2) if you need more performance or advanced HTTP features (proxies, ssl). Of course, you need Python installed (at least version 2.4, untested with earlier versions). DownloadGet a local copy of current development version (repository): hg clone https://pysimplesoap.googlecode.com/hg/ pysimplesoap Or get a more stable source archive (zip): http://code.google.com/p/pysimplesoap/downloads/list Or install from PyPI: pip install pysimplesoap PrerequisitesOptionally, httplib2 is needed for the SoapClient (SoapServer doesn't need any dependencies) in order to get a better performance or advanced features: In GNU/Linux (Debian), install its package: apt-get install python-httplib2 In Windows, download httplib2-0.4.0.zip, uncompress and run: c:\python25\python.exe setup.py install Additionaly, for proxy support, download socksipy and copy it to main folder and/or under the python path. For a full stack solution using SoapDispatcher see Web2Py (you'll need http://www.web2py.com) |
I tried to (and seemingly did) install using first easy_install PySimpleSoap and then cloning the source and using python setup.py install. However, after I import pysimplesoap, there are no classes or functions for me to use.
Doing a help(pysimplesoap) returns: Help on package pysimplesoap:
NAME
FILE
PACKAGE CONTENTS
But dir(pysimplesoap) yields only: ['builtins', 'doc', 'file', 'name', 'package', 'path']
I'm still new to Python, but other packages (.eggs) which I've install and imported did not have this issue. Any suggestions?
Ok, I figured out why I couldn't access the packages inside pysimplesoap. Apparently the __init__.py file needs to import the files locally for them to be visible when you do import pysimplesoap. I've created a patch to do so - I'll add it to the issues page.