SMPP Version 5 Library, client and server
This package works with python 3.x and is not compatible with python 2.x
These instructions are for debian/ubuntu based systems. Users of other distributions should modify these according to their distribution.
Install python setuptools if not already present on your system::
sudo apt-get install python-setuptools
Install pip if not already present::
sudo easy_install pip
Install virtualenv::
sudo pip install virtualenv
Setup a python3.x virtual env::
virtualenv -p /usr/bin/python3 py3env
Activate the environment::
source py3env/bin/activate
Install nose (for running a test cases)
pip install nose
Make sure you're logged in as a normal user and there is no virtual environment activated for your current shell (run deactivate if you're in a virtualenv)
Setup a python 2.7.x virtual env::
virtualenv pyckenv
Activate the environment::
source pyck/bin/activate
Install pyck::
pip install pyck
(optional) - If you have not yet created the pyck project you can start doing that now.
Open up two terminals (Konsole)
Activate the python 3 virtual environment in first terminal. We will use this to work on the SMPP part of the project::
source py3env/bin/activate
Activate the pyckenv in the second terminal. This will be used for running the web interface etc::
source pyckenv/bin/activate
Whenever you need to do something related to the web portion of the project, use the second terminal (pyckenv)
All work that you do on the SMPP code etc should be done in the first terminal (py3env)