From 088d98deeb2c60210257d9f6c96de325caf5782f Mon Sep 17 00:00:00 2001 From: Jinglei Ren Date: Wed, 6 Sep 2017 14:55:36 +0800 Subject: [PATCH] Minor: remove legacy files and update .gitignore --- .gitignore | 2 ++ README.md | 4 ++-- util/__init__.py | 0 util/path.py | 7 ------- 4 files changed, 4 insertions(+), 9 deletions(-) delete mode 100644 util/__init__.py delete mode 100644 util/path.py diff --git a/.gitignore b/.gitignore index 94b75659be2..40674f75af0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.dropbox +*.pickle *.xlsx repos diff --git a/README.md b/README.md index 7cf8413f921..ec7622eb0af 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ Download and install Python: Note: Python 3.5+ is required. -Install packages dicttoxml gitpython lxml networkx numpy openpyxl statistics scipy: +Install packages dicttoxml gitpython lxml networkx numpy openpyxl statistics scipy matplotlib: E.g., Ubuntu: ``` sudo apt install -y python3 python3-pip -sudo -H pip3 install dicttoxml gitpython lxml networkx numpy openpyxl statistics scipy +sudo -H pip3 install dicttoxml gitpython lxml networkx numpy openpyxl statistics scipy matplotlib ``` In order to uset the `--indent-heuristic` option of `git diff`, we require git version >= 2.11. Use the following commands to upgrade: diff --git a/util/__init__.py b/util/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/util/path.py b/util/path.py deleted file mode 100644 index af46ad38119..00000000000 --- a/util/path.py +++ /dev/null @@ -1,7 +0,0 @@ -import os - -def get_parent_dir(path): - return os.path.abspath(os.path.join(path, os.pardir)) - -root_path = get_parent_dir(os.path.dirname(os.path.abspath(__file__))) -