[tahoe-lafs-trac-stream] [tahoe-lafs] #1339: Tahoe 1.8.2b1 does not locate locally installed setuptools
tahoe-lafs
trac at tahoe-lafs.org
Fri Jan 28 02:54:07 UTC 2011
#1339: Tahoe 1.8.2b1 does not locate locally installed setuptools
----------------------------+-----------------------------------------------
Reporter: killyourtv | Owner: zooko
Type: defect | Status: new
Priority: major | Milestone: 1.8.2
Component: code | Version: 1.8.1
Resolution: | Keywords: setuptools reviewed
Launchpad Bug: |
----------------------------+-----------------------------------------------
Comment (by davidsarah):
Replying to [comment:3 killyourtv]:
> After applying the patch, tahoe 1.8.2b1 starts successfully and connects
to the introducer on the I2P network. [...]
> {{{
> $ tahoe --version
> allmydata-tahoe: 1.8.2b1,
> [...]
> setuptools: 0.6
>
> Warning: dependency setuptools (version 0.6 imported from
> '/usr/lib/python2.6/dist-packages') was not found by pkg_resources.
> Warning: dependency distribute (version 0.6.14) found by pkg_resources
> not found by import.
>
> For debugging purposes, the PYTHONPATH was [...]
> }}}
With the patch, this is now behaving exactly as designed. However, the
specific case of "{{{import setuptools}}}" giving {{{distribute}}} faked
to look like setuptools 0.6, is common enough (and reasonably harmless
enough) that we should perhaps special-case it to suppress the warning. It
would also be nice if the {{{-version[-and-path]}}} output were to report
that the imported setuptools is actually distribute.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1339#comment:6>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list