| 34 | | conf_dir = os.path.join(self.prefix, 'share', 'trac', 'conf') |
| 35 | | templates_dir = os.path.join(self.prefix, 'share', 'trac', 'templates') |
| 36 | | htdocs_dir = os.path.join(self.prefix, 'share', 'trac', 'htdocs') |
| 37 | | wiki_dir = os.path.join(self.prefix, 'share', 'trac', 'wiki-default') |
| 38 | | macros_dir = os.path.join(self.prefix, 'share', 'trac', 'wiki-macros') |
| 39 | | plugins_dir = os.path.join(self.prefix, 'share', 'trac', 'plugins') |
| | 34 | path = self.prefix or self.home |
| | 35 | path = os.path.expanduser(path) |
| | 36 | conf_dir = os.path.join(path, 'share', 'trac', 'conf') |
| | 37 | templates_dir = os.path.join(path, 'share', 'trac', 'templates') |
| | 38 | htdocs_dir = os.path.join(path, 'share', 'trac', 'htdocs') |
| | 39 | wiki_dir = os.path.join(path, 'share', 'trac', 'wiki-default') |
| | 40 | macros_dir = os.path.join(path, 'share', 'trac', 'wiki-macros') |
| | 41 | plugins_dir = os.path.join(path, 'share', 'trac', 'plugins') |