Merge lp:~mgorven/ibid/top-level-modules into lp:~ibid-core/ibid/old-trunk-1.6

Proposed by Michael Gorven
Status: Merged
Approved by: Jonathan Hitchcock
Approved revision: not available
Merged at revision: 824
Proposed branch: lp:~mgorven/ibid/top-level-modules
Merge into: lp:~ibid-core/ibid/old-trunk-1.6
Diff against target: 58 lines (+6/-6)
4 files modified
MANIFEST.in (+2/-2)
ibid/__init__.py (+1/-1)
ibid/plugins/url.py (+2/-2)
setup.py (+1/-1)
To merge this branch: bzr merge lp:~mgorven/ibid/top-level-modules
Reviewer Review Type Date Requested Status
Jonathan Hitchcock Approve
Stefano Rivera Approve
Review via email: mp+16721@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Michael Gorven (mgorven) wrote :

Moves the data and lib modules into the ibid module, so that we can use pycentral for the debian packaging.

lp:~mgorven/ibid/top-level-modules updated
820. By Michael Gorven

/./ isn't necessary.

Revision history for this message
Stefano Rivera (stefanor) :
review: Approve
Revision history for this message
Jonathan Hitchcock (vhata) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'MANIFEST.in'
2--- MANIFEST.in 2009-12-02 11:33:42 +0000
3+++ MANIFEST.in 2010-01-02 10:09:13 +0000
4@@ -2,8 +2,8 @@
5 recursive-include ibid/templates *
6 recursive-include tracibid *.py
7 recursive-include contrib *
8-recursive-include lib *
9-recursive-include data *
10+recursive-include ibid/lib *.py
11+recursive-include ibid/data *
12 recursive-include docs *
13 include factpacks/*.json
14 include ibid/*.ini
15
16=== modified file 'ibid/__init__.py'
17--- ibid/__init__.py 2009-12-28 09:45:29 +0000
18+++ ibid/__init__.py 2010-01-02 10:09:13 +0000
19@@ -5,7 +5,7 @@
20 from ConfigParser import SafeConfigParser
21
22 import sys
23-sys.path.insert(0, '%s/../lib' % dirname(__file__))
24+sys.path.insert(0, '%s/lib' % dirname(__file__))
25
26 import twisted.python.log
27
28
29=== renamed directory 'data' => 'ibid/data'
30=== renamed directory 'lib' => 'ibid/lib'
31=== modified file 'ibid/plugins/url.py'
32--- ibid/plugins/url.py 2009-12-29 15:56:52 +0000
33+++ ibid/plugins/url.py 2010-01-02 10:09:13 +0000
34@@ -126,9 +126,9 @@
35 delicious = Delicious()
36
37 def setup(self):
38- if resource_exists(__name__, '../../data/tlds-alpha-by-domain.txt'):
39+ if resource_exists(__name__, '../data/tlds-alpha-by-domain.txt'):
40 tlds = [tld.strip().lower() for tld
41- in resource_stream(__name__, '../../data/tlds-alpha-by-domain.txt')
42+ in resource_stream(__name__, '../data/tlds-alpha-by-domain.txt')
43 .readlines()
44 if not tld.startswith('#')
45 ]
46
47=== modified file 'setup.py'
48--- setup.py 2009-08-11 06:38:56 +0000
49+++ setup.py 2010-01-02 10:09:13 +0000
50@@ -42,7 +42,7 @@
51 'http://ibid.omnia.za.net/eggs/',
52 'http://wokkel.ik.nu/downloads',
53 ],
54- packages=['ibid', 'tracibid', 'lib', 'twisted', 'data', 'contrib', 'factpacks'],
55+ packages=['ibid', 'tracibid', 'twisted', 'contrib', 'factpacks'],
56 entry_points={
57 'trac.plugins': ['tracibid = tracibid.notifier'],
58 },

Subscribers

People subscribed via source and target branches