Skip to content

Commit

Permalink
fix: dependency issues that causes pip command to raise error (#877)
Browse files Browse the repository at this point in the history
Fixes #664
  • Loading branch information
devkapilbansal committed Oct 25, 2020
1 parent 163cd69 commit 0efacf9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
30 changes: 23 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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:

Expand Down
8 changes: 0 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0efacf9

Please sign in to comment.