File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 40
40
sys .path .insert (0 , __frame_dirpath__ )
41
41
42
42
# do relative import
43
- from __init__ import (
43
+ from . __init__ import (
44
44
NAME ,
45
45
__url__ ,
46
46
__url_source__ ,
119
119
#
120
120
121
121
import attr # https://pypi.org/project/attrs/
122
-
123
122
# https://pypi.org/project/mutagen/
124
123
from mutagen .asf import ASF
125
124
from mutagen .asf ._util import ASFHeaderError
Original file line number Diff line number Diff line change 19
19
"""
20
20
21
21
import os
22
-
22
+ from pathlib import Path
23
23
from setuptools import setup
24
24
from setuptools import find_packages
25
+ import sys
25
26
26
27
# https://pypi.org/project/py2exe/
27
28
try :
30
31
# not needed for typical builds, fails to install on non-Windows Python
31
32
pass
32
33
34
+
35
+ # HACK: workaround for `module not found`
36
+ sys .path .append (str (Path (__file__ ).resolve ().parent ))
37
+
33
38
from coverlovin2 import (
34
39
__version__ ,
35
40
__author__ ,
You can’t perform that action at this time.
0 commit comments