From 87f4b34930f7f1d2396913ab3762153eaf8bfe6f Mon Sep 17 00:00:00 2001 From: boukeversteegh Date: Sun, 14 Jun 2020 16:52:33 +0200 Subject: [PATCH] Revert "Support running plugin without installing betterproto" This reverts commit c88edfd0 --- betterproto/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/betterproto/plugin.py b/betterproto/plugin.py index aeef919..8065c13 100755 --- a/betterproto/plugin.py +++ b/betterproto/plugin.py @@ -1,4 +1,5 @@ #!/usr/bin/env python + import itertools import os.path import pathlib @@ -7,7 +8,6 @@ import sys import textwrap from typing import List -sys.path.append(str(pathlib.Path(__file__).parent.parent)) # add betterproto to path import betterproto from betterproto.compile.importing import get_ref_type from betterproto.compile.naming import (