LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  December 2013

QSERV-L December 2013

Subject:

Re: Fwd: [HSC Forum] "Installing virtualenv with eups"

From:

Kian-Tat Lim <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Fri, 20 Dec 2013 10:55:31 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (52 lines)

Fabrice,

> Maybe it would be better if eups always run with system python ?

	In the not-too-distant future (maybe even in January or
February), I think we want to convert the LSST Stack to run with the
system Python in all cases, including eups.

> Indeed for now it switch to eups-installed python once command
> "setup python" is performed.

	"setup python" would go away.  But I'm not sure what the problem
is with switching Pythons.

> >	Regarding its use with virtualenv, EUPS has been designed with
> >virtual-env like functionality in mind -- specifically, it manages the
> >PYTHON_PATH for you. So using the two together is likely to generate
> >conflicts (though it may not be impossible).

> One of the main advantage of using virtualenv is that install of
> python libraries via eups is completely transparent : you don't have
> to manage a dedicated PYTHONPATH in eups build scripts of python
> libraries.
> It also isolate eups-installed python and then prevent conflicts
> between system python user libraries and eups-installed python user
> libraries.
> Of course, if you prefer, i can set up build script to install each
> Qserv python lib in a dedicated directory and then add it to
> PYTHONPATH.

	We already have the PYTHONPATH manipulation in the rest of the
LSST Stack, so I think it's best for now to continue with that.  In the
longer run, I would like to see all LSST Stack Python modules installed
into a single directory, almost certainly an LSST-specific one and not
the system site-packages -- but they would be swapped in and out on
setup of the individual packages through the use of symbolic links.

	One of the main reasons to use the system Python is to allow the
user to incorporate other packages into their usage of the LSST Stack.
virtualenv does not work well with this usage model.  This may not be an
issue with qserv, however, which is server-side and can insist on a more
rigorously-controlled environment.

-- 
Kian-Tat Lim, LSST Data Management, [log in to unmask]

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use