mirror of
https://github.com/evilhero/mylar
synced 2024-12-23 08:12:41 +00:00
15 lines
347 B
Python
15 lines
347 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import (
|
|
print_function,
|
|
division,
|
|
unicode_literals,
|
|
absolute_import
|
|
)
|
|
|
|
try:
|
|
from pathlib import PurePath # PurePath is the base object for Paths.
|
|
except ImportError: # pragma: no cover
|
|
PurePath = object # To avoid NameErrors.
|
|
has_pathlib = False
|
|
else:
|
|
has_pathlib = True
|