Skip to content

Commit

Permalink
README is up-to-date with ubuntu LTS 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
hezyin committed Jun 1, 2018
1 parent 77134f8 commit 029a3dc
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ E.g., on Ubuntu LTS 16.04:
```
sudo apt update
sudo apt install -y python3 python3-pip
sudo -H pip3 install dicttoxml gitpython lxml networkx numpy openpyxl statistics scipy matplotlib
sudo -H pip3 install -r requirements.txt
```

Also, create a symbolic link from `python3` to `python` since some scripts reply on it.
```
sudo ln -s /usr/bin/python3 /usr/bin/python
```

2. Update Git
Expand All @@ -36,6 +41,28 @@ cd misc/
./apply_patch.py
```

4. Add project directory to path

Add the following line to your `~/.bashrc` file.
```
export PATH=$PATH:/path/to/dir
```

To update your path for the remainder of the session.
```
source ~/.bashrc
```

5. Install srcML for parsing C/C++ and Java

Please download from [here](https://www.srcml.org/#download) and follow the [instructions](http://131.123.42.38/lmcrs/beta/README).

srcML also needs `libarchive-dev` and `libcurl4-openssl-dev`.
```
sudo apt install libarchive-dev
sudo apt install libcurl4-openssl-dev
```

### Interactive Mode

1. Install Jupyter
Expand Down
15 changes: 15 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
joblib==0.11
nltk==3.2.2
openpyxl==2.3.2
pytest==3.0.7
numpy==1.12.1
networkx==1.11
matplotlib==1.5.3
requests==2.13.0
spacy==1.8.2
scipy==0.18.1
GitPython==2.1.10
lxml==4.2.1
sh==1.12.14
scikit_learn==0.19.1
pydotplus==2.0.2

0 comments on commit 029a3dc

Please sign in to comment.