Commit 49419d5e authored by Grant Paton-Simpson's avatar Grant Paton-Simpson

Pass string to sys.path not pathlib Path

parent 9bfb8f8c
Pipeline #570 failed with stages
# https://git.nzoss.org.nz/pyGrant/superhelp
version number: 0.9.8
version number: 0.9.9
author: Grant Paton-Simpson
## Overview
......
......@@ -2,7 +2,7 @@ from setuptools import setup, find_packages # @UnresolvedImport
from codecs import open
from os import path
__version__ = '0.9.8'
__version__ = '0.9.9'
here = path.abspath(path.dirname(__file__))
......
......@@ -10,7 +10,7 @@ try:
except (ImportError, ValueError):
from pathlib import Path
import sys
parent = Path.cwd().parent
parent = str(Path.cwd().parent)
sys.path.insert(0, parent)
from superhelp import conf, advisors, messages # @Reimport
from superhelp.displayers import cli_displayer, html_displayer # @Reimport
......
......@@ -90,7 +90,7 @@ try:
except (ImportError, ValueError):
from pathlib import Path
import sys
parent = Path.cwd().parent
parent = str(Path.cwd().parent)
sys.path.insert(0, parent)
from superhelp import advisors, ast_funcs, conf # @Reimport
from superhelp.utils import get_docstring_start, layout_comment as layout, make_tmp_file # @Reimport
......
......@@ -7,7 +7,7 @@ try:
except (ImportError, ValueError):
from pathlib import Path
import sys
parent = Path.cwd().parent
parent = str(Path.cwd().parent)
sys.path.insert(0, parent)
from superhelp import conf # @Reimport
from superhelp.messages import _get_tree, get_separated_messages_dets, store_ast_output # @Reimport
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment