summaryrefslogtreecommitdiff
path: root/tools/pip
diff options
context:
space:
mode:
authorcclauss <cclauss@bluewin.ch>2018-07-24 02:00:13 -0400
committerRefael Ackermann <refack@gmail.com>2018-10-24 17:19:28 -0400
commit0c39290201a81dc1e9acb65cae477e67f8cde919 (patch)
tree73644b0c26fcaed1d387df31d98ab15120e1b826 /tools/pip
parent095a6027b3df8004a0033d1fb0f654673e1a3d59 (diff)
downloadandroid-node-v8-0c39290201a81dc1e9acb65cae477e67f8cde919.tar.gz
android-node-v8-0c39290201a81dc1e9acb65cae477e67f8cde919.tar.bz2
android-node-v8-0c39290201a81dc1e9acb65cae477e67f8cde919.zip
build: add lint-py which uses flake8
PR-URL: https://github.com/nodejs/node/pull/21952 Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'tools/pip')
-rw-r--r--tools/pip/.gitignore2
-rw-r--r--tools/pip/sitecustomize.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/pip/.gitignore b/tools/pip/.gitignore
new file mode 100644
index 0000000000..03eb26e013
--- /dev/null
+++ b/tools/pip/.gitignore
@@ -0,0 +1,2 @@
+*.pyc
+site-packages \ No newline at end of file
diff --git a/tools/pip/sitecustomize.py b/tools/pip/sitecustomize.py
new file mode 100644
index 0000000000..aa8087c898
--- /dev/null
+++ b/tools/pip/sitecustomize.py
@@ -0,0 +1,3 @@
+import os
+import site
+site.addsitedir(os.path.dirname(os.path.realpath(__file__)) + '/site-packages')