My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Installation  
Instructions
Phase-Deploy, Featured
Updated Jan 24, 2011 by ralf.hen...@gmail.com

Installation

No 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).

Download

Get 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

Prerequisites

Optionally, 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)

Comment by project member pckuj...@gmail.com, Apr 12, 2012

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

pysimplesoap - Contributed modules

FILE

c:\python27\lib\site-packages\pysimplesoap-1.05a-py2.7-win32.egg\pysimplesoap\init.py

PACKAGE CONTENTS

client server simplexml transport

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?

Comment by project member pckuj...@gmail.com, Apr 12, 2012

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.


Sign in to add a comment
Powered by Google Project Hosting