Skip to content

Commit 8f0603c

Browse files
committed
Fixed #525 - Include templates in wheel
* Moved the templates directory under ./src/attributecode/ Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 19e4b32 commit 8f0603c

File tree

6 files changed

+2
-2
lines changed

6 files changed

+2
-2
lines changed

src/attributecode/attrib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
from attributecode.attrib_util import multi_sort
3333

3434
DEFAULT_TEMPLATE_FILE = os.path.join(
35-
os.path.dirname(os.path.realpath(__file__)), '../../templates', 'default_html.template')
35+
os.path.dirname(os.path.realpath(__file__)), 'templates', 'default_html.template')
3636

3737
DEFAULT_TEMPLATE_SCANCODE_FILE = os.path.join(
38-
os.path.dirname(os.path.realpath(__file__)), '../../templates', 'scancode_html.template')
38+
os.path.dirname(os.path.realpath(__file__)), 'templates', 'scancode_html.template')
3939

4040
DEFAULT_LICENSE_SCORE = 100
4141

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)