From 0efacf9783b0a2f774ec8b7ed7f4043aa078b3cb Mon Sep 17 00:00:00 2001 From: Kapil Bansal Date: Sun, 25 Oct 2020 05:39:22 +0530 Subject: [PATCH] fix: dependency issues that causes pip command to raise error (#877) Fixes #664 --- README.md | 30 +++++++++++++++++++++++------- requirements.txt | 8 -------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c4fe1a820..122125505 100644 --- a/README.md +++ b/README.md @@ -39,14 +39,24 @@ To setup the project locally read these wiki pages and follow the instructions: The project runs on Python 3. 1. Create a virtual environment: -`virtualenv venv --python=python3` +``` +virtualenv venv --python=python3 +``` 2. Activate the virtual environment: -`source /venv/Scripts/activate` for Git Bash Users, -`venv\Scripts\activate` for Windows Command Line Users +For Git Bash Users: +``` +source /venv/Scripts/activate +``` +For Windows Command Line Users: +``` +venv\Scripts\activate +``` 3. Install all the dependencies in `requirements.txt` file: -`pip install -r requirements.txt` +``` +pip install -r requirements.txt +``` 4. Make sure you create `.env` using `.env.template` and update the values of corresponding environment variables or make sure you exported the following [environment variables](docs/environment-variables.md): @@ -88,13 +98,19 @@ deactivate The project runs on Python 3. 1. Create a virtual enviorntment: -`virtualenv venv` +``` +virtualenv venv +``` 2. Activate the virtual environment: -`source venv/bin/activate` +``` +source venv/bin/activate +``` 3. Install all the dependencies in `requirements.txt` file: -`pip3 install -r requirements.txt` +``` +pip3 install -r requirements.txt +``` 4. Make sure you create `.env` using `.env.template` and update the values of corresponding environment variables. Make sure you exported the following [environment variables](docs/environment-variables.md) if you didn't adapt `.env.template` in the `.env` file: diff --git a/requirements.txt b/requirements.txt index 86d655c70..1462868c6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,21 +6,15 @@ asn1crypto==0.24.0 attrs==19.3.0 awsebcli==3.14.1 bcrypt==3.1.7 -black==19.3b0 blessed==1.15.0 blinker==1.4 -botocore==1.10.48 cached-property==1.4.3 cement==2.8.2 certifi==2018.4.16 chardet==3.0.4 click==6.7 -colorama==0.3.9 coverage==4.5.1 cryptography==2.8 -docker==3.4.0 -docker-compose==1.21.2 -docker-pycreds==0.3.0 dockerpty==0.4.1 docopt==0.6.2 docutils==0.14 @@ -43,7 +37,6 @@ Mako==1.1.3 MarkupSafe==1.1.1 mccabe==0.6.1 paramiko==2.7.1 -pathspec==0.5.5 psycopg2-binary==2.8.5 pycodestyle==2.5.0 pycparser==2.18 @@ -57,7 +50,6 @@ python-editor==1.0.4 pytz==2018.4 PyYAML==3.13 regex==2020.2.20 -requests==2.18.4 semantic-version==2.5.0 six==1.11.0 SQLAlchemy==1.2.7