-
Notifications
You must be signed in to change notification settings - Fork 13
Python3 Env
Bavarin Fleetfoot edited this page Feb 13, 2017
·
3 revisions
To create a virtualenv with Python 3 to test python-creole do this:
- Create virtual environment with python 3:
~$ virtualenv --python=python3.2 --no-site-packages python3creole_env
1. activate it:
```fish
~$ cd python3creole_env/
~/python3creole_env$ source bin/activate
- Install from source (read-only git clone):
(python3creole_env)~/python3creole_env$ pip install --verbose --editable git+git://github.com/jedie/python-creole.git#egg=python-creole
1. Only for developer:
```fish
(python3creole_env)~/python3creole_env$ pip install --verbose --editable [email protected]:jedie/python-creole.git#egg=python-creole
- install distutils (needed for unit-tests)
(python3creole_env)~/python3creole_env$ pip install docutils
1. run unit-tests:
```fish
(python3creole_env)~/python3creole_env$ cd src/python-creole
(python3creole_env)~/python3creole_env/src/python-creole$ ./setup.py test
We using Shining Panda Service for running unit-tests automatically on GIT changes, see: