-
Notifications
You must be signed in to change notification settings - Fork 32
Atarashi Installation Guide
Ayush Bhardwaj edited this page Jul 9, 2020
·
1 revision
You need to install Atarashi on your own system to try and test it out. We recommend you to set up a separate Python virtual environment for the same.
If you don't know how to set up a Python Virtual environment, please check out Setting up a Python Virtual Environment
You can Install Atarashi in two ways:
Haven’t installed pip? Visit: https://pip.pypa.io/en/stable/installing/
- Update pip to the latest stable version
pip install --upgrade pip- Install third-party code comment dependency for Atarashi
pip install code_comment@git+https://github.com/amanjain97/code_comment@master#egg=code_comment- Install Atarashi
pip install atarashi- Fork the repo
- Clone on your local system
git clone https://github.com/fossology/atarashi.git - Change directory
cd atarashi/- Install third-party code comment dependency for Atarashi
pip install code_comment@git+https://github.com/amanjain97/code_comment@master#egg=code_comment- Install the package
pip install .This will download all dependencies required and trigger build as well.
- The build will generate 3 new files in your current directory
- data/Ngram_keywords.json
- licenses/.csv
- licenses/processedList.csv
These files will be placed to their appropriate places by the install script.
If you just want to install the required dependencies on your system, run the following command:
pip install -r requirements.txt$ python3 setup.py buildatarashi -h or atarashi --help