[Geany-Users] Use python virtualenvs in Geany

Lex Trotman elextr at xxxxx
Fri Jan 31 23:46:06 UTC 2014


On 1 February 2014 10:28, Matthew Brush <mbrush at codebrainz.ca> wrote:

> On 14-01-31 03:14 PM, Sayth Renshaw wrote:
>
>> How can i use isolated environments in Geany? Thinking that maybe I should
>> create this as a build command so when it compiles it executes using only
>> virtualenv packages.
>>
>> Any tips on how to get this to happen?
>>
>>
> Probably just starting Geany after sourcing the activation script would
> work OK.
>

Yeah, thats the simple way if the entire session is to use the one env, but
to use more than one env the OP needs to do it in the build commands.

I should note that each build command runs in a shell, so you can run
multiple commands separated by semicolons eg "source activate; python %f".

Cheers
Lex


>
> Cheers,
> Matthew Brush
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20140201/ebadb1b4/attachment.html>


More information about the Users mailing list