Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Warren DeLano <warren@de...> - 2009-03-07 03:01:42
|
Pete, Yes, this approach will work if you build from the open-source code, and indeed, that is the recommended approach if you need to link PyMOL to libraries with native code. The problem comes in when users wish to build native code and link them against precompiled PyMOL executables. That is difficult, though not impossible: It requires a local binary-compatible instance of Python for building the code (matching the Python version of PyMOL's hard-linked executable -- print sys.version). The compiled code modules can then be copied over for use inside PyMOL. Cheers, Warren > -----Original Message----- > From: Pete Meyer [mailto:pameyer@...] > Sent: Friday, March 06, 2009 4:28 PM > To: Schubert, Carsten [PRDUS] > Cc: Warren DeLano; pymol-users@... > Subject: Re: [PyMOL] Procedure for adding packages to pymol site-packages? > > > how would I go about adding a package to the $PYMOL_PATH/ext/.../site- > packages w/o screwing up the install? > > > > For most packages the mechanism is "python setup.py install". Would this > work to run this from within pymol? > > With my usual way of installing pymol is to build most of the > dependencies from source, including python. This copy of python gets > sym-linked to pymol.python for building pymol (aka pymol.python setup.py > build , etc in the pymol source directory) and is only used for running > pymol. > > If you've installed things this way, then "pymol.python setup.py > install" for your package should work, assuming your environmental > python environmental variables are kept straight. > > But this is something I haven't needed to test, so if Warren says it's > not possible he's probably found a problem with this approach I missed. > > Pete > > ------------------------------------------------------------------------ -- > ---- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@... > https://lists.sourceforge.net/lists/listinfo/pymol-users > > > |