loggerhead can't reasonably be installed using pip due to self-import in setup.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead-breezy |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
Following the fix for bug 383360, I tried to make Launchpad install loggerhead using pip (with a self-built sdist from the breezy branch). However, this didn't work because loggerhead's setup.py does an 'import loggerhead' to get the version, and loggerhead/
I think loggerhead should arrange to get its version in setup.py in a way that doesn't involve importing itself at that stage.
Related branches
- Jelmer Vernooij: Approve
-
Diff: 266 lines (+111/-69)7 files modifiedNEWS (+7/-0)
__init__.py (+11/-1)
docs/conf.py (+3/-3)
docs/index.rst (+11/-7)
loggerhead/__init__.py (+12/-15)
setup.cfg (+66/-0)
setup.py (+1/-43)
Changed in loggerhead-breezy: | |
status: | New → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
Fixed in loggerhead 2.0.0.