Skip to content

Commit 17c4da8

Browse files
committed
Move templates/ to share/roundup/templates/
1 parent 0e88d07 commit 17c4da8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2
-2
lines changed

demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def demo_main():
127127
backend = sys.argv[-2]
128128
else:
129129
backend = 'anydbm'
130-
install_demo(home, backend, os.path.join('templates', 'classic'))
130+
install_demo(home, backend, os.path.join('share', 'roundup', 'templates', 'classic'))
131131
run_demo(home)
132132

133133
if __name__ == '__main__':

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def main():
7878

7979
# add the templates to the data files lists
8080
from roundup.init import listTemplates
81-
templates = [t['path'] for t in listTemplates('templates').values()]
81+
templates = [t['path'] for t in listTemplates(os.path.join('share','roundup','templates')).values()]
8282
for tdir in templates:
8383
# scan for data files
8484
for idir in '. detectors extensions html'.split():
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)