Fix for eric6_api to include the path to the EditorConfig package.

Sat, 03 Feb 2018 18:37:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 03 Feb 2018 18:37:36 +0100
changeset 6110
a7b096ecf963
parent 6109
041715a2f703
child 6111
d38b38117d83

Fix for eric6_api to include the path to the EditorConfig package.

eric6_api.py file | annotate | diff | comparison | revisions
--- a/eric6_api.py	Sat Feb 03 18:05:22 2018 +0100
+++ b/eric6_api.py	Sat Feb 03 18:37:36 2018 +0100
@@ -26,6 +26,10 @@
 import sys
 import fnmatch
 
+# make ThirdParty package available as a packages repository
+sys.path.insert(2, os.path.join(os.path.dirname(__file__),
+                                "ThirdParty", "EditorConfig"))
+
 import Utilities.ModuleParser
 from DocumentationTools.APIGenerator import APIGenerator
 from UI.Info import Version

eric ide

mercurial