build a Python Egg installer package?
Bug #78520 reported by
Martin Pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Low
|
Unassigned |
Bug Description
Building an Egg package might make installation and upgrade easier (for people not using a distribution package). For example it would be easier to make sure that all the old files are upgraded when installing, and that we have the needed dependencies.
http://
http://
Changed in bzr: | |
importance: | Undecided → Medium |
Changed in bzr: | |
status: | Unconfirmed → Confirmed |
tags: | added: packaging |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
I think it would fix this problem of having old modules lying around:
I did a setup.py install with the latest code base and now bzr refuses
to run at all. Even if I install an older version I still have this
problem. Here is the output I get:
Traceback (most recent call last): python2. 4/site- packages/ bzrlib/ commands. py", line 57, in ? python2. 4/site- packages/ bzrlib/ option. py", line 358, in ? log_formatter_ registry, value_switches= True, python2. 4/site- packages/ bzrlib/ lazy_import. py", line registry'
File "/usr/bin/bzr", line 84, in ?
import bzrlib.commands
File "/usr/lib/
from bzrlib.option import Option
File "/usr/lib/
log.
File "/usr/lib/
99, in __getattribute__
return getattr(obj, attr)
AttributeError: 'module' object has no attribute 'log_formatter_
It seems the latest bzr has messed up the installation somehow. It was
working fine before I installed the latest version.
If I run bzr from its source directory then it works but it is no longer
possible to install it...
Nick
You need to remove your old bzrlib/ install before installing a new one.
This is a bug in python's built-in install functionality. In that it Lib\site- packages\ bzrlib" first, and then install bzr it
just adds files, it doesn't remove old ones. I think if you just delete
"C:\Python24\
will work fine.
You may want to copy ...\bzrlib\ plugins\ * first, in case you had any
plugins installed.
John
=:->