how to add 3rd party package( ex selenium,pymysql ) to bundled python(ubuntu 14.04)

LibreOffice 5.0.3 bundled python (3.3.5) for windows OS ,I installed setuptools and easy_install selenium work fine.
But Ubuntu 14.04 setupttools install failed like this

python Extracting in
/tmp/tmpu_yay4 Now working in
Installing Setuptools running install
error: invalid Python installation:
unable to open
/opt/libreoffice5.0/program/python-core-3.3.3/lib/python3.3/config-3.3m/Makefile (No such file or directory) Something
went wrong during the installation.
See the error message above.

Please let me know how to add 3rd party packages to Ubuntu 14.04 bundle
Thanks in advance