> On 6 Mar 2022, at 16:53, Peter J. Holzer wrote:
>
> On 2022-03-05 17:59:48 +0100, Marco Sulla wrote:
>>> On Sat, 5 Mar 2022 at 17:36, Barry Scott wrote:
>>> Note: you usually cannot use pip when building an RPM with mock as the
>>> network is disabled inside the build for
>>> security reas
On 2022-03-05 17:59:48 +0100, Marco Sulla wrote:
> On Sat, 5 Mar 2022 at 17:36, Barry Scott wrote:
> > Note: you usually cannot use pip when building an RPM with mock as the
> > network is disabled inside the build for
> > security reasons.
>
> Can't he previously download the packages and run p
> On 5 Mar 2022, at 19:56, Hartmut Goebel wrote:
>
> Am 05.03.22 um 17:34 schrieb Barry Scott:
>> Have the RPM install all the pythone code and dependencies and also install
>> a short script that
>> sets up PYTHONPATH, LD_LIBRARY_PATH, etc and execs the python3 .py.
> The scripts are already
> On 5 Mar 2022, at 19:56, Hartmut Goebel wrote:
>
> Am 05.03.22 um 17:34 schrieb Barry Scott:
>> Have the RPM install all the pythone code and dependencies and also install
>> a short script that
>> sets up PYTHONPATH, LD_LIBRARY_PATH, etc and execs the python3 .py.
> The scripts are already
> On 5 Mar 2022, at 19:56, Hartmut Goebel wrote:
>
> Am 05.03.22 um 17:34 schrieb Barry Scott:
>> Have the RPM install all the pythone code and dependencies and also install
>> a short script that
>> sets up PYTHONPATH, LD_LIBRARY_PATH, etc and execs the python3 .py.
> The scripts are already
Am 05.03.22 um 17:34 schrieb Barry Scott:
Have the RPM install all the pythone code and dependencies and also install a
short script that
sets up PYTHONPATH, LD_LIBRARY_PATH, etc and execs the python3 .py.
The scripts are already created by entry-points. So basically this means
to reinvent th
Hi,
As far I know there is tool rpmvenv
(https://github.com/kevinconway/rpmvenv).
Try it, maybe ot helps.
04.03.2022 16:03, Hartmut Goebel wrote:
Hi,
How can I make installing a virtual environment honor DESTDIR? How can
I install a virtual environment in $(DESTDIR)$(PREFIX), which behaves
> On 5 Mar 2022, at 16:59, Marco Sulla wrote:
>
> On Sat, 5 Mar 2022 at 17:36, Barry Scott wrote:
>> Note: you usually cannot use pip when building an RPM with mock as the
>> network is disabled inside the build for
>> security reasons.
>
> Can't he previously download the packages and run
On Sat, 5 Mar 2022 at 17:36, Barry Scott wrote:
> Note: you usually cannot use pip when building an RPM with mock as the
> network is disabled inside the build for
> security reasons.
Can't he previously download the packages and run pip on the local packages?
--
https://mail.python.org/mailman
> On 4 Mar 2022, at 13:03, Hartmut Goebel wrote:
>
> Hi,
>
> How can I make installing a virtual environment honor DESTDIR? How can I
> install a virtual environment in $(DESTDIR)$(PREFIX), which behaves as being
> set-up in $(PREFIX)? (Of course, this virtual environment can not be used. My
Hi,
How can I make installing a virtual environment honor DESTDIR? How can I
install a virtual environment in $(DESTDIR)$(PREFIX), which behaves as
being set-up in $(PREFIX)? (Of course, this virtual environment can not
be used. My aim is to ship it as part of a rpm package)
In Makefiles is
Hi
I wrote an Ansible .yml to deploy a Flask webapp. I use python 3.6 for the
ansible-playbook executable. The yml starts with some yum installs,
amongst which python-pip. That installs an ancient pip version (v9). Then
I create a virtualenv where I use a requirements.txt for pip
On Thu, 25 Apr 2019, Cameron Simpson wrote:
Personally, I like to treat the virtualenv as a source for third party
modules needed by the project. I explicitly do not like to pollute it with
project code - that way revision control can ignore the whole venv tree
and it can be blown away/rebuilt
Rich Shepard writes:
> Which is the CWD for running virtualenv and spcifying the path to the
> project's directoy?
I mentioned "virtualenv" together with "setuptools".
"virtualenv" gives you a (light weight) isolated Python installation
(sharing thing
On Thu, Apr 25, 2019 at 2:38 PM Cameron Simpson wrote:
>
> On 25Apr2019 12:05, Chris Angelico wrote:
> >> venv-requirements.txt
> >> Periodically I run "pip freeze >venv-requirements.txt"; this file is
> >> revision controlled. That way I can rebuild an equivalent venv
> >> somewhere else l
On 25Apr2019 12:05, Chris Angelico wrote:
venv-requirements.txt
Periodically I run "pip freeze >venv-requirements.txt"; this file is
revision controlled. That way I can rebuild an equivalent venv
somewhere else later.
Any particular reason for this name? If not, I would generally
recomme
>>bash integration that means that any time it sees a directory called
> >>"env", it auto-activates that venv.) So the venv is inside the app (and,
> >>of course, mentioned in .gitignore).
> >
> >ChrisA,
> >
> >Thanks for sharing your approac
ivates that venv.) So the venv is inside the app (and,
of course, mentioned in .gitignore).
ChrisA,
Thanks for sharing your approach. Rather than use the built-in venv I
installed virtualenv in the project's root directory (and added bin/,
include/, and lib/ in .gitignore).
While it's w
o-activates that venv.) So the venv is inside the app (and,
of course, mentioned in .gitignore).
ChrisA,
Thanks for sharing your approach. Rather than use the built-in venv I
installed virtualenv in the project's root directory (and added bin/,
include/, and lib/ in .gitignore).
While it
oject directory tree is already establilshed. What I did was install
virtualenv and activate it when I work on the project code.
Regards,
Rich
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Apr 25, 2019 at 8:55 AM Dennis Lee Bieber wrote:
>
> On Wed, 24 Apr 2019 09:17:28 -0700 (PDT), Rich Shepard
> declaimed the following:
>
> >I've installed virtualenv in Slackware-14.2. Now I want to set up the ENV
> ><https://virtualenv.pypa.io/en/stable
On Wed, 24 Apr 2019, Rich Shepard wrote:
Which is the CWD for running virtualenv and spcifying the path to the
project's directoy?
The project's subdirectory. It's up and running now.
Rich
--
https://mail.python.org/mailman/listinfo/python-list
I've installed virtualenv in Slackware-14.2. Now I want to set up the ENV
<https://virtualenv.pypa.io/en/stable/userguide/> in an application's
development directory.
Which is the CWD for running virtualenv and spcifying the path to the
project's directoy?
Rich
--
ht
On 2018-09-05 08:21, dieter wrote:
"M. Fioretti" writes:
I have an error in a python application that I installed...
... https://github.com/shaarli/python-shaarli-client/issues/33
...
Looks like the problem is immediately at the start of the response
(--> "ValueError: Expecting value: line 1 c
python client for the shaarli bookmarks manager, whose home
page is https://github.com/shaarli/python-shaarli-client, on a Centos release
7.5 x86_64 server. Since that client requires python >= 3.4, and I do not want
to move the whole server to that version, I created a virtualenv following
to move the whole server to that
> version, I created a virtualenv following the instructions at
> https://github.com/shaarli/python-shaarli-client/blob/master/docs/user/installation.rst
>
> When I try to run it, I get the error messages that I already reported
> in full at
>
> htt
run the python client for the shaarli bookmarks manager, whose
home page is https://github.com/shaarli/python-shaarli-client, on a
Centos release 7.5 x86_64 server. Since that client requires python >=
3.4, and I do not want to move the whole server to that version, I
created a virtual
On Tuesday, August 28, 2018 at 8:00:17 AM UTC-7, Matt Ruffalo wrote:
> On 2018-08-28 07:26, stone.zh...@gmail.com wrote:
> > Hi there,
> >
> > Sorry if the question is naive, I am on Ubuntu 16.04 with Python 3.5.2, now
> > I want to use virtualenv, I noticed there are
On 2018-08-28 07:26, stone.zh...@gmail.com wrote:
> Hi there,
>
> Sorry if the question is naive, I am on Ubuntu 16.04 with Python 3.5.2, now I
> want to use virtualenv, I noticed there are two ways to get virtualenv
> installed:
>
> 1) do "sudo apt-get install virtual
Hi,
If you install with sudo it is installed for 2 users i.e current logged in
as well as root. So if one login as root can use the installed "env".
But if you install it with pip it will be used by the current logged in
user.
In my opinion, use pip to install virtualenv
On Tue, Au
Hi there,
Sorry if the question is naive, I am on Ubuntu 16.04 with Python 3.5.2, now I
want to use virtualenv, I noticed there are two ways to get virtualenv
installed:
1) do "sudo apt-get install virtualenv"
2) do "pip3 install virtualenv"
What is the preferred way t
Leam Hall writes:
> Folks on IRC have suggested using virtualenv to test code under
> different python versions. Sadly, I've not found a virtualenv tutorial
> I understand. Anyone have a link to a good one?
I recently used
http://www.simononsoftware.com/virtualenv-tutorial-part-2/
On Oct 4, 2017, at 3:49 AM, Leam Hall wrote:
>
> Folks on IRC have suggested using virtualenv to test code under different
> python versions. Sadly, I've not found a virtualenv tutorial I understand.
> Anyone have a link to a good one?
>
> The next step will be to figu
On 4 October 2017 at 13:30, leam hall wrote:
> On Wed, Oct 4, 2017 at 7:15 AM, Ben Finney
> wrote:
>
>> Leam Hall writes:
>>
>> > Folks on IRC have suggested using virtualenv to test code under
>> > different python versions. Sadly, I've not found a v
On Wed, Oct 4, 2017 at 7:15 AM, Ben Finney
wrote:
> Leam Hall writes:
>
> > Folks on IRC have suggested using virtualenv to test code under
> > different python versions. Sadly, I've not found a virtualenv tutorial
> > I understand. Anyone have a link to a good
Leam Hall writes:
> Folks on IRC have suggested using virtualenv to test code under
> different python versions. Sadly, I've not found a virtualenv tutorial
> I understand. Anyone have a link to a good one?
The Python Packaging Authority has a guide
https://packaging.python
Folks on IRC have suggested using virtualenv to test code under
different python versions. Sadly, I've not found a virtualenv tutorial I
understand. Anyone have a link to a good one?
The next step will be to figure out how to package a project; a good
tutorial URL would be appreciated on
Solution: remember to run the 'activate' script:
% source ~/tf_compile/tensorflow/bin/activate
On Friday, September 1, 2017 at 2:39:33 PM UTC-7, ro...@cgl.ucsf.edu wrote:
> With the prebuilt version of tensorflow, I did:
>
>virtualenv --system-site-packages ~/
With the prebuilt version of tensorflow, I did:
virtualenv --system-site-packages ~/tensorflow
and somehow got it working with keras. Now I've compiled tensorflow in another
shell/directory, where to start with I did:
virtualenv --system-site-packages .
and I got it running with
Here is the complete stack trace
Traceback (most recent call last):
File
"/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py",
line 193, in _run_module_as_main
"__main__", mod_spec)
File
"/usr/local/Cellar/python3/3.6.2/Frameworks/Python.fram
My bad. I was playing around with it.
It should be:
from swagger_server.models.binary import Binary
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 15 Aug 2017 01:08 am, Frustrated Learner wrote:
> I am getting the following error when running flask server. I have a model
> called binary. I am guessing a path issue. In the model, the code is:
>
> from __future__ import absolute_import
> from swagger_server.models.binary import Binary
Hello,
I am using Python 3.62 on a mac. I am working under a virtualenv.
I generated server code via http://editor.swagger.io (Swagger UI)
Steps to reproduce
python3 -m venv flaskglobal
source flaskglobal/bin/activate
cp binary to flaskglobal and unzip contents
cd python-flask-server
pip
On 16Jun2017 06:40, Tim Chase wrote:
At least within virtualenvwrapper (I'm not sure whether they come
with virtualenv proper), in my $WORKON_HOME and
$WORKON_HOME/$VIRTUALENV/bin directories, I have a bunch of pre* and
post* templates including preactivate and postactivate hooks in which
ript, I'm
> > leaning towards hacking the activate script, probably by keeping
> > a distinct file off the the side and modifying activate to source
> > it.
>
> Yeah, I'd much prefer to be told there's a hook to use, so that
> someone who creates a stand
cript, probably by keeping a distinct
> file off the the side and modifying activate to source it.
Yeah, I'd much prefer to be told there's a hook to use, so that someone
who creates a standard Python virtualenv the conventional way will not
need to then hack that virtualenv.
--
\
On 13Jun2017 11:57, Ben Finney wrote:
Many of the code bases for which I use a Python virtualenv, need
additional (custom) environment variables set, each time the virtualenv
is activated.
How can I make this easy for developers who already know how to activate
a virtualenv?
* Edit the ‘$VENV
Howdy all,
What is the conventional way to customise the changes made by a Python
virtualenv bin/activate script?
The Python virtualenv is activated by a ‘$VENV/bin/activate script’ [0].
This script works primarily by setting environment variables specific to
the virtualenv.
(This is different
On Friday, 13 January 2017 09:27:59 UTC, haraldn...@gmail.com wrote:
> I want to do some development on `distlib`, and in the process run the code
> via `virtualenv` which has distlib as a dependency.
>
> That is, not run the process inside a virtualenv, but run virtualenv'
haraldnordg...@gmail.com writes:
> I want to do some development on `distlib`, and in the process run the code
> via `virtualenv` which has distlib as a dependency.
>
> That is, not run the process inside a virtualenv, but run virtualenv's code
> using a custom dependency.
I want to do some development on `distlib`, and in the process run the code via
`virtualenv` which has distlib as a dependency.
That is, not run the process inside a virtualenv, but run virtualenv's code
using a custom dependency. What are the steps I need to go through to achieve
this
Today I discovered that one can customize session restoration in Terminal.app
by defining the shell_session_save_user_state function.
Here is a script that restores active virtualenv, e.g. after you reboot your
machine:
https://gist.github.com/Kentzo/185e4eab382bbcf1f0a9738a28128dce
It
nning Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
> >>> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
> >>>
> >>> $ virtualenv a && . "$_"/bin/activate && pip --version
> >>
> >&g
On Sun, Nov 6, 2016 at 10:19 PM, Peter Otten <__pete...@web.de> wrote:
> Chris Angelico wrote:
>
>> On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor
>> wrote:
>>> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
>>> 15.0.3 (`sudo -H pip i
Alec Taylor wrote:
> On Sunday, November 6, 2016 at 10:20:53 PM UTC+11, Peter Otten wrote:
>> Chris Angelico wrote:
>>
>> > On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor
>> > wrote:
>> >> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and
On Sunday, November 6, 2016 at 10:20:53 PM UTC+11, Peter Otten wrote:
> Chris Angelico wrote:
>
> > On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor
> > wrote:
> >> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
> >> 15.0.3 (`sudo -H pip i
Chris Angelico wrote:
> On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor
> wrote:
>> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
>> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
>>
>> $ virtualenv a && . "
On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor wrote:
> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
>
> $ virtualenv a && . "$_"/bin/activate && pip --version
Alec Taylor wrote:
> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
>
> $ virtualenv a && . "$_"/bin/activate && pip --version
> New python executa
Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
$ virtualenv a && . "$_"/bin/activate && pip --version
New python executable in /tmp/a/bin/python
Installing setuptools,
On Fri, 24 Jun 2016, 03:32 Tiglath Suriol, wrote:
> Let us say that I install PostgreSQL from an activated virtualenv using
> yum or apt-get, will PostgrSQL be local or global?
>
Global
I understand that virtualenv isolates the Python environment only, so I
> surmise that it
Let us say that I install PostgreSQL from an activated virtualenv using yum or
apt-get, will PostgrSQL be local or global?
I understand that virtualenv isolates the Python environment only, so I surmise
that it will make no difference installing with yum/apt-get inside or outside
the
Hai,
While trying to install virtualenv in my system(windows 10 Home) using pip
i'm getting the following error "Could not find a version that satisfies
the requirement virtualenv (from versions: )
No matching distribution found for virtualenv". Right now i'm using
On 3/17/2016 2:12 AM, Arjun Prathap wrote:
While trying to install virtualenv in my system(windows 10 Home) using pip
You need to give exact details on how you installed Python and how you
tried to 'use pip'.
i'm getting the following error...
--
Terry Jan
On Fri, Jan 15, 2016 at 1:17 PM, Paulo da Silva <
p_s_d_a_s_i_l_v_a...@netcabo.pt> wrote:
> Às 05:10 de 15-01-2016, Cameron Simpson escreveu:
> > On 15Jan2016 03:37, Paulo da Silva
> wrote:
> ...
> > Virtualenv is so easy to use that i suggest you
> > just try i
Às 05:10 de 15-01-2016, Cameron Simpson escreveu:
> On 15Jan2016 03:37, Paulo da Silva wrote:
...
> Virtualenv is so easy to use that i suggest you
> just try it and see.
>
Thank you very much Cameron. Being easy, I'll give it a try with a small
test program and see how
On 15Jan2016 03:37, Paulo da Silva wrote:
I am about to install tensorflow and I am considering to use virtualenv.
Unfortunately I don't know anything about this.
It makes a directory tree with its own libraries and "python" and "pip"
executables. When you run t
Hi all!
I am about to install tensorflow and I am considering to use virtualenv.
Unfortunately I don't know anything about this.
So, a couple of questions before I dig more ...
1. Are all already installed python stuff visible inside virtualenv?
2. I used to use eclipse for development.
paul.hermeneu...@gmail.com wrote:
> - I downloaded and installed Python 3.5 64-bit onto a Windows 7 64-bit
> machine. - Using `pip install virtualenv` worked fine.
> - Now, it is time to create a virtualenv, but it is not working fine.
> - I had to add Python 3.5 to the PATH.
> -
- I downloaded and installed Python 3.5 64-bit onto a Windows 7 64-bit machine.
- Using `pip install virtualenv` worked fine.
- Now, it is time to create a virtualenv, but it is not working fine.
- I had to add Python 3.5 to the PATH.
- Any suggestions?
C:\ve>virtualenv -p "\Program File
Installing Py 3.5 and `pip install virtualenv` worked fine. However, I
cannot create a virtualenv.
"OSError: Command C:\ve\ve33\Scripts\python.exe -c "import sys, pip;
sys...d\"] + sys.argv[1:]))" setuptools pip wheel failed with error
code 1"
Any suggestions?
--
Folks,
I couldn't find any info on this problem online:
Linux Mint
Python 3.3
virtualenv (12.0.7)
pip (6.0.8)
setuptools (12.0.5)
(testpy3)mowglie@flappi ~ $ pip install nose
Collecting nose
Exception:
Traceback (most recent call last):
File
"/home/mowglie/.pyvirtualenvs/t
On 12/23/2014 12:27 PM, Mark Lawrence wrote:
I chanced upon this
https://mail.python.org/pipermail/distutils-sig/2014-December/025450.html via
twitter and thought it would be of interest here.
I'll assume that by the time I hit 'Send' it'll have arrived on the
announcements mailing list :)
Don
I chanced upon this
https://mail.python.org/pipermail/distutils-sig/2014-December/025450.html via
twitter and thought it would be of interest here.
I'll assume that by the time I hit 'Send' it'll have arrived on the
announcements mailing list :)
--
My fellow Pythonistas, ask not what our lan
I've created a small application in a virtualenv and would like to
package it up as a .deb file for distribution on various
Debian/Ubuntu (and derivatives) systems.
Are there any good resources documenting this process? The biggest
issue involves using versions of modules installed via pip
- Original Message -
> From: "Gelonida N"
> To: python-list@python.org
> Sent: Thursday, 9 October, 2014 5:55:44 PM
> Subject: Re: virtualenv question: include just a few site packages
> > You could build a virtual machine, installing only your VIP
>
On 10/09/2014 03:19 PM, Jean-Michel Pichavant wrote:
- Original Message -
virtualenv has the switch
--system-site-packages (including all system site pacgaes)
and the switch
--no-site-packages (to expclude all site packages)
Does anyone know an easy way to include just a few site
- Original Message -
> From: "Gelonida N"
> To: python-list@python.org
> Sent: Thursday, 9 October, 2014 12:09:50 AM
> Subject: virtualenv question: include just a few site packages
>
> virtualenv has the switch
> --system-site-packages (including all
virtualenv has the switch
--system-site-packages (including all system site pacgaes)
and the switch
--no-site-packages (to expclude all site packages)
Does anyone know an easy way to include just a few site-packages?
for example (PySide, but not PyQt)
The reason I'm asking is following.
On 27Feb2014 07:29, YE SHANG wrote:
> I'm starting to learn virtualenv, I wonder how run python project developed
> in virtualenv.
>
> Here is my situation, there is a server we can access with a common user name
> and password, there are many py scripts wrote by diff
YE SHANG Wrote in message:
> I'm starting to learn virtualenv, I wonder how run python project developed
> in virtualenv.
>
> Here is my situation, there is a server we can access with a common user name
> and password, there are many py scripts wrote by different peop
I'm starting to learn virtualenv, I wonder how run python project developed in
virtualenv.
Here is my situation, there is a server we can access with a common user name
and password, there are many py scripts wrote by different people on this
server.
If I develop my python project
On Monday, February 10, 2014 4:46:31 PM UTC+2, Jean-Michel Pichavant wrote:
> > Call the venv version of python and activation is handled.
> > E.g. in a fabfile
> >
> > myenv/bin/python myscript.py
> >
> > --
> > Pete Forman
> > --
> > https://mail.python.org/mailman/listinfo/python-list
>
>
> Call the venv version of python and activation is handled.
> E.g. in a fabfile
>
> myenv/bin/python myscript.py
>
> --
> Pete Forman
> --
> https://mail.python.org/mailman/listinfo/python-list
wow, the solution is so nice and simple.
JM
-- IMPORTANT NOTICE:
The contents of this emai
Jean-Michel Pichavant writes:
> Thank you all for you insights.
>
> I'll probably go with virtualenv, I'll be able to distribute it among
> the team.
> There's still one point worrying me though:
> We're doing a lot a remote execution. We're using &qu
Thank you all for you insights.
I'll probably go with virtualenv, I'll be able to distribute it among the team.
There's still one point worrying me though:
We're doing a lot a remote execution. We're using "execnet"
http://codespeak.net/execnet/, and I
Glenn Hutchings writes:
> On 06/02/14 17:32, Jean-Michel Pichavant wrote:
>
> > Assuming I have a debian workstation for which I don't have any
> > sudo rights, in order to be able to install / remove python
> > packages, should I be using virtualenv ? Is it a s
On 06/02/14 17:32, Jean-Michel Pichavant wrote:
> Assuming I have a debian workstation for which I don't have any sudo
> rights, in order to be able to install / remove python packages, should
> I be using virtualenv ? Is it a suited solution ?
It depends on whether you nee
On Saturday, February 8, 2014 5:32:22 AM UTC+2, Cameron Simpson wrote:
> On 07Feb2014 19:03, Asaf Las wrote:
>
> Persuming you are asking about "just make a lib directory and point
> $PYTHONPATH at it" instead of virtualenv, in principle yes.
> But it is more work; vi
n order to be able to install / remove python packages,
> > > should I be using virtualenv ? Is it a suited solution ?
> >
> > It is well suited.
> >
> > You can also do far simpler (and far smaller setups) like this:
> > mkdir -p $HOME/lib/pyth
,
> > should I be using virtualenv ? Is it a suited solution ?
>
> It is well suited.
>
> You can also do far simpler (and far smaller setups) like this:
>
> mkdir -p $HOME/lib/python
>
> and in your environment (eg $HOME/.profile or $HOME/.bash_profile) add:
>
On 06Feb2014 18:32, Jean-Michel Pichavant wrote:
> Assuming I have a debian workstation for which I don't have any
> sudo rights, in order to be able to install / remove python packages,
> should I be using virtualenv ? Is it a suited solution ?
It is well suited.
You can also
Greetings,
Assuming I have a debian workstation for which I don't have any sudo rights, i
n order to be able to install / remove python packages, should I be using
virtualenv ? Is it a suited solution ?
JM
-- IMPORTANT NOTICE:
The contents of this email and any attachment
gs though. That's the
problem with monkey-see-monkey-do. I completely glossed over the part
where venv was excluded from my git repo. That being the case then, to
update my virtualenv, I need to first create a new one in a fresh
directory (using my existing requirements.txt file). I should be a
On 30/10/2013 12:08 AM, Skip Montanaro wrote:
Where specifically are these instructions that tell you to put the
virtualenv under VCS control?
https://devcenter.heroku.com/articles/getting-started-with-python
I believe you may have misread the instructions slightly. You should
have a
> Where specifically are these instructions that tell you to put the
> virtualenv under VCS control?
https://devcenter.heroku.com/articles/getting-started-with-python
> As you are a Heroku customer (I'm not), would you be willing to
> suggest they alter them based on advic
Skip Montanaro writes:
> > You are keeping your virtualenv separate from your working tree,
> > right? I put mine in ‘/var/local/devel/$USER/virtualenvs/foobar/’
> > where “foobar” is the specific virtualenv name.
>
> No, I'm no expert in these things. I was just
on't want loads of third-party files in
your VCS repository.
Instead, the deployment to the live system should be done from a wholly
separate build area, and the virtualenv can serve as that build area.
Then, your VCS need only contain the files you'll actually be changing
as source code
>> Hmmm... And my git repo?
>
> You are keeping your virtualenv separate from your working tree, right?
> I put mine in ‘/var/local/devel/$USER/virtualenvs/foobar/’ where
> “foobar” is the specific virtualenv name.
No, I'm no expert in these things. I was just followin
On 2013-10-29 11:42, Ben Finney wrote:
> You are keeping your virtualenv separate from your working tree,
> right?
This was one of the key bits I missed in most of the
virtualenv{,wrapper} documentation and only figured out after asking
several questions here on c.l.p Once I ha
1 - 100 of 211 matches
Mail list logo