Show More
@@ -17,7 +17,7 b' def dotted_name_of_path(path):' | |||||
17 | 'zlib' |
|
17 | 'zlib' | |
18 | """ |
|
18 | """ | |
19 | parts = path.split('/') |
|
19 | parts = path.split('/') | |
20 |
parts[-1] = parts[-1][ |
|
20 | parts[-1] = parts[-1].split('.', 1)[0] # remove .py and .so and .ARCH.so | |
21 | if parts[-1].endswith('module'): |
|
21 | if parts[-1].endswith('module'): | |
22 | parts[-1] = parts[-1][:-6] |
|
22 | parts[-1] = parts[-1][:-6] | |
23 | return '.'.join(parts) |
|
23 | return '.'.join(parts) |
General Comments 0
You need to be logged in to leave comments.
Login now