##// END OF EJS Templates
packaging: include templates with their package as key in package_data...
Martin von Zweigbergk -
r45865:e2320bb7 default
parent child Browse files
Show More
@@ -1635,10 +1635,8 b' def ordinarypath(p):'
1635
1635
1636 for root in ('templates',):
1636 for root in ('templates',):
1637 for curdir, dirs, files in os.walk(os.path.join('mercurial', root)):
1637 for curdir, dirs, files in os.walk(os.path.join('mercurial', root)):
1638 curdir = curdir.split(os.sep, 1)[1]
1638 packagename = curdir.replace(os.sep, '.')
1639 for f in filter(ordinarypath, files):
1639 packagedata[packagename] = list(filter(ordinarypath, files))
1640 f = os.path.join(curdir, f)
1641 packagedata['mercurial'].append(f)
1642
1640
1643 datafiles = []
1641 datafiles = []
1644
1642
General Comments 0
You need to be logged in to leave comments. Login now