incomplete dependencies list in setup.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
Fix Released
|
Medium
|
Stefano Rivera |
Bug Description
The dependencies list in setup.py is incomplete. As a result, an out-the-box install of 0.1.0 does not work.
At the very least, the following dependencies are missing:
chardet (required by ibid-from-knab)
There are a bunch of others needed by plugins. There are two possible solutions to this.
The first is to include the dependencies. This has the disadvantage of dragging in a whole lot of stuff I don't necessarily want for plugins I might not use.
The second, and perhaps more elegant, way is to alter the default ibid.ini file to explicitly disable plugins whose dependencies are not included in setup.py. (Even more elegant would be to get ibid-setup to do this on the fly based on what I have installed)
So far as I can tell, you'd need a
[plugins]
noload = ascii, bzr, knab, languages, memory
to implement the second strategy based on the distributed setup.py.
Related branches
- marcog (community): Approve
- Jonathan Hitchcock: Approve
- Max Rabkin: Approve
-
Diff: 87 lines (+29/-10)3 files modifiedscripts/ibid-knab-import (+8/-2)
scripts/ibid-memgraph (+11/-4)
scripts/ibid-objgraph (+10/-4)
- marcog (community): Approve
- Jonathan Hitchcock: Approve
- Max Rabkin: Approve
-
Diff: 87 lines (+29/-10)3 files modifiedscripts/ibid-knab-import (+8/-2)
scripts/ibid-memgraph (+11/-4)
scripts/ibid-objgraph (+10/-4)
Changed in ibid: | |
status: | In Progress → Fix Committed |
Changed in ibid: | |
status: | Fix Committed → Fix Released |
Yes, our aim is to ship with batteries-included, but without depending on the *entire* python library world.
As ibid-from-knab is a very rarely used script, we de don't depend on chardet for it. However it should print a warning to that effect.