andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Allow installation in virtualenv. #235

Closed yajo closed 9 years ago

yajo commented 9 years ago

Today, when checking the latest master for Qutepart, I noticed that actually it's not possible to install Enki in a Virtualenv. This fixes it, with Python 3 forward compatibility.

Now, to just test the latest Enki and Qutepart, one can just do:

# First install the dependencies from your system; then...
virtualenv --system-site-packages env-dir
source env-dir/bin/activate
pip install https://github.com/hlamer/enki/archive/master.zip https://github.com/hlamer/qutepart/archive/master.zip
./env-dir/bin/enki

Easier to test!

pasnox commented 9 years ago

Hi,

Should this works fine on OSX too ?

Thanks,

2014-10-07 10:39 GMT+02:00 Yajo notifications@github.com:

Today, when checking the latest master for Qutepart, I noticed that actually it's not possible to install Enki in a Virtualenv. This fixes it, with Python 3 forward compatibility.

Now, to just test the latest Enki and Qutepart, one can just do:

First install the dependencies from your system; then...

virtualenv --system-site-packages env-dir source env-dir/bin/activate pip install https://github.com/hlamer/enki/archive/master.zip https://github.com/hlamer/qutepart/archive/master.zip ./env-dir/bin/enki

Easier to test!

You can merge this Pull Request by running

git pull https://github.com/Yajo/enki master

Or view, comment on, or merge it at:

https://github.com/hlamer/enki/pull/235 Commit Summary

  • Allow installation in virtualenv.

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/hlamer/enki/pull/235.

andreikop commented 9 years ago

@Yajo, cool! I made some changes to do not install data files at all. They are used only by DEs.

@pasnox, why don't you try and post comment here?