##// END OF EJS Templates
packaging: mark mercurial.templates and subdirs as packages...
Martin von Zweigbergk -
r45864:41ff8a46 default
parent child Browse files
Show More
@@ -1268,6 +1268,7 b' packages = ['
1268 'mercurial.hgweb',
1268 'mercurial.hgweb',
1269 'mercurial.interfaces',
1269 'mercurial.interfaces',
1270 'mercurial.pure',
1270 'mercurial.pure',
1271 'mercurial.templates',
1271 'mercurial.thirdparty',
1272 'mercurial.thirdparty',
1272 'mercurial.thirdparty.attr',
1273 'mercurial.thirdparty.attr',
1273 'mercurial.thirdparty.zope',
1274 'mercurial.thirdparty.zope',
@@ -1292,6 +1293,13 b' packages = ['
1292 'hgext3rd',
1293 'hgext3rd',
1293 'hgdemandimport',
1294 'hgdemandimport',
1294 ]
1295 ]
1296
1297 for name in os.listdir(os.path.join('mercurial', 'templates')):
1298 if name != '__pycache__' and os.path.isdir(
1299 os.path.join('mercurial', 'templates', name)
1300 ):
1301 packages.append('mercurial.templates.%s' % name)
1302
1295 if sys.version_info[0] == 2:
1303 if sys.version_info[0] == 2:
1296 packages.extend(
1304 packages.extend(
1297 [
1305 [
General Comments 0
You need to be logged in to leave comments. Login now