From 45830139ec7f4ad2108e7098e980fa6a191f57d7 2016-09-19 02:13:45 From: Matthias Bussonnier Date: 2016-09-19 02:13:45 Subject: [PATCH] recommend GhPro as a replacemetn for custom tools --- diff --git a/tools/backport_pr.py b/tools/backport_pr.py index eb405fc..a8da3af 100755 --- a/tools/backport_pr.py +++ b/tools/backport_pr.py @@ -161,6 +161,10 @@ def should_backport(labels=None, milestone=None, project='ipython/ipython'): if __name__ == '__main__': project = 'ipython/ipython' + + print("DEPRECATE: backport_pr.py is deprecated and is is now recommended" + "to install `ghpro` from PyPI.", file=sys.stderr) + args = list(sys.argv) if len(args) >= 2: if '/' in args[1]: diff --git a/tools/github_stats.py b/tools/github_stats.py index efe34a8..a333dd2 100755 --- a/tools/github_stats.py +++ b/tools/github_stats.py @@ -110,6 +110,10 @@ def report(issues, show_urls=False): #----------------------------------------------------------------------------- if __name__ == "__main__": + + print("DEPRECATE: backport_pr.py is deprecated and is is now recommended" + "to install `ghpro` from PyPI.", file=sys.stderr) + # deal with unicode if sys.version_info < (3,): sys.stdout = codecs.getwriter('utf8')(sys.stdout)