Skip to content
Behrouz Shamsaei edited this page Oct 3, 2016 · 3 revisions

##Welcome to the PLN-Python wiki!

This project is a light-weight, easy to use python2.7 package with minimum number of dependencies, the following documentations are provided to make the project portable, independent of the python and module versions.

For the ubuntu users the project can be dockerized via vitualenv and can be accomplished through these steps.

  1. cd my/project
  2. virtualenv -p /usr/bin/python2.7 env : makes a folder env that is used for dockerizing the project. (/usr/bin/python2.7 is the default place for python that can be different in other systems, the address can be found with which python2.7)
  3. source env/bin/activate : puts the bin files used for the project in the env/bin folder and is active as long as the terminal is not closed.
  4. env/bin/pip install -r requirements.txt : This command is used to install the project requirements in the bin folder.
  5. After installing the required modules, for running the project just type: python main.py
  6. To deactivate the the process just type : deactivate

Clone this wiki locally