Alexander Belchenko wrote:
> ...
> File "pkg_resources.pyo", line 524, in resolve
> DistributionNotFound: Paste>=1.6
>
> IIUC this error is a clear sign that some parts either of loggerhead or
> third-party library requires setuptools to work correctly. AFAIK,
> py2exed application (bzr.exe) can't work with setuptools and eggs
> properly. So this is dead end.
I don't know the details, but Loggerhead isn't compatible with old
versions of Paste and PasteDeploy, so it uses setuptools's pkg_resources
to make sure they're new enough. (Paste doesn't have many __version__
attributes, so that seems to be the best way to do it.)
It also uses pkg_resources for reporting the version numbers of its
dependencies and accessing some files included in the distribution.
Patches welcome. :-D I'd be happy to lose that dependency, but I don't
know how to do it.
As it is, it might be possible for the installer to use a patched
version of Loggerhead that removes the dependency. It would be easy to
do, as long as pkg_resources.resource_filename() can be replaced.
Alexander Belchenko wrote: pyo", line 524, in resolve Found: Paste>=1.6
> ...
> File "pkg_resources.
> DistributionNot
>
> IIUC this error is a clear sign that some parts either of loggerhead or
> third-party library requires setuptools to work correctly. AFAIK,
> py2exed application (bzr.exe) can't work with setuptools and eggs
> properly. So this is dead end.
I don't know the details, but Loggerhead isn't compatible with old
versions of Paste and PasteDeploy, so it uses setuptools's pkg_resources
to make sure they're new enough. (Paste doesn't have many __version__
attributes, so that seems to be the best way to do it.)
It also uses pkg_resources for reporting the version numbers of its
dependencies and accessing some files included in the distribution.
Patches welcome. :-D I'd be happy to lose that dependency, but I don't
know how to do it.
As it is, it might be possible for the installer to use a patched resource_ filename( ) can be replaced.
version of Loggerhead that removes the dependency. It would be easy to
do, as long as pkg_resources.