Fix packaging issues with demo dir
Bug #505689 reported by
Cory Dodt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txGenshi |
Fix Released
|
High
|
Cory Dodt |
Bug Description
Few issues with the demo dir:
- it's a package (with __init__.py) so installing it makes it part of the global python namespace as 'demo', which is far too generic. rename it to txgenshidemo
- the templates and tac file are not included in package_data so are not present when i try to run tests
- I duplicated bin/demo.tac, whoops. delete one.
Related branches
lp://staging/~corydodt/txgenshi/505689
- Duncan McGreggor: Approve
-
Diff: 158 lines (+27/-26)8 files modifiedChangeLog (+8/-0)
README (+1/-1)
TODO (+3/-2)
bin/demo.tac (+0/-17)
txgenshi/test/example.py (+3/-1)
txgenshi/util.py (+8/-1)
txgenshidemo/demo.tac (+1/-1)
txgenshidemo/resources.py (+3/-3)
Changed in txgenshi: | |
importance: | Undecided → High |
assignee: | nobody → Cory Dodt (corydodt) |
status: | New → In Progress |
Changed in txgenshi: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Resolved mostly by renaming demo->txgenshidemo and adding package_data.