If I have a module which installs some files using the
data_files=[...] argument to setup.py, how do I then (reliably) find
those files from my code?
The first question is, is there a way of obtaining the distutils
data_files parameter value at runtime? If not, I guess I have to code
the same
Hi there,
I need to get a list of eggs in 'dependency' order: a list with eggs
(Distribution objects?) which is sorted so that earlier entries will
never depend on entries later in the list. [1]
I spotted the _dep_map attribute on Distribution objects and it seems to
have something like that
At 12:40 PM 1/14/2008 +0200, Iwan Vosloo wrote:
Hi there,
I need to get a list of eggs in 'dependency' order: a list with eggs
(Distribution objects?) which is sorted so that earlier entries will
never depend on entries later in the list. [1]
I spotted the _dep_map attribute on Distribution
At 11:24 AM 1/14/2008 +, Paul Moore wrote:
If I have a module which installs some files using the
data_files=[...] argument to setup.py, how do I then (reliably) find
those files from my code?
You can't. Use package_data instead. It's available in the
distutils as of Python 2.4.
I'm using setuptools for my setup script.
when installing a .exe package dependencies aren't fetched.
should it work this way?
are there any ways getting the dependencies downloaded and still have a
bdist_wininst package ?
--
ionel.
___
Distutils-SIG
At 11:05 AM 1/13/2008 +0200, Ionel Maries Cristian wrote:
I'm using setuptools for my setup script.
when installing a .exe package dependencies aren't fetched.
should it work this way?
are there any ways getting the dependencies downloaded and still
have a bdist_wininst package ?
You could put
That is like scratching your right ear with your left hand.
Regardless, is this a bug or a missing feature?
On Jan 14, 2008 5:12 PM, Phillip J. Eby [EMAIL PROTECTED] wrote:
At 11:05 AM 1/13/2008 +0200, Ionel Maries Cristian wrote:
I'm using setuptools for my setup script.
when installing a
On 14/01/2008, Phillip J. Eby [EMAIL PROTECTED] wrote:
At 11:24 AM 1/14/2008 +, Paul Moore wrote:
If I have a module which installs some files using the
data_files=[...] argument to setup.py, how do I then (reliably) find
those files from my code?
You can't. Use package_data instead.
however, i have another problem:
for example if i install a egg of a given package and then I install a newer
version using a .exe then i will have in site-packages:
example-0.1-py2.5.egg\
example-0.2-py2.5.egg-info\
and somehow example-0.1-py2.5.egg will take precedence and import example
will
looks like my new version doesn't get in easy-install.pth
any idea how to get my old version out of easy-install.pth ?
On Jan 14, 2008 7:16 PM, Ionel Maries Cristian [EMAIL PROTECTED] wrote:
however, i have another problem:
for example if i install a egg of a given package and then I install a
At 07:19 PM 1/14/2008 +0200, Ionel Maries Cristian wrote:
looks like my new version doesn't get in easy-install.pth
any idea how to get my old version out of easy-install.pth ?
http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages
At 07:37 PM 1/14/2008 +0200, Ionel Maries Cristian wrote:
i don't want to impose users to work around package manager quirks
Then don't use bdist_wininst as your installation method. Or at the
very least, don't mix two different installation methods for the platform.
I'm trying to fix something running under ZSI that broke because of a
needed change in the WS-Addressing schema version.
I ran into a problem that I've had before, where Python can't recognize
that I have a proper version of PyXML installed.
I get the following traceback:
[EMAIL PROTECTED]
At 06:56 PM 1/14/2008 -0500, Stanley A. Klein wrote:
I'm trying to fix something running under ZSI that broke because of a
needed change in the WS-Addressing schema version.
I ran into a problem that I've had before, where Python can't recognize
that I have a proper version of PyXML installed.
I
I created the ZSI rpm myself using python setup.py bdist_rpm.
The PyXML rpm on my Fedora system was created by Fedora. I will have to
create one myself for Centos.
BTW, as I said in an earlier email, I found an easier fix. I commented
out the statement in the ZSI setup.py that caused Python to
At 09:03 PM 1/14/2008 -0500, Stanley A. Klein wrote:
I created the ZSI rpm myself using python setup.py bdist_rpm.
The PyXML rpm on my Fedora system was created by Fedora.
FYI, Fedora version 9 apparently now includes .egg-info for
distutils-based packages.
On Mon, 14 Jan 2008 09:45:29 -0500 Phillip J. Eby wrote:
[1] In fact, this is an intermediary result - I want to
compute all the
entry points of a tree of dependencies in such a way that the
entry
points of eggs deeper in the tree will always be
17 matches
Mail list logo