Skip to content

Commit 51f8e4f

Browse files
Control dependencies (#16)
Create a new requirements.txt to control dependencies.
1 parent 78735a0 commit 51f8e4f

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ auth.cfg
33
*.pkl
44
build/
55
test/fixtures/cassettes/*.json
6+
pyenv/

requirements.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
iso8601==2.1.0
2+
mockito==1.5.0
3+
pytest==8.3.1
4+
python-dateutil==2.9.0.post0
5+
pytz==2022.1
6+
requests==2.32.3
7+
todoist_api_python==2.1.5
8+
tzlocal==5.2
9+
vcrpy==6.0.1

scripts/setup.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
# Setup repo
3+
4+
# Create symlink
5+
ln -s ~/.config/auth.cfg source/auth.cfg
6+
7+
# Create a virtual environment
8+
python3 -m venv pyenv
9+
10+
# Activate the virtual environment (MacOS/Linux)
11+
source pyenv/bin/activate
12+
13+
# Install dependencies
14+
pip install -r requirements.txt

0 commit comments

Comments
 (0)