Skip to content

Commit d26d356

Browse files
authored
Merge pull request #7 from ScienceLogic/pin-requirements
requirements management with pip-tools:
2 parents 84eb480 + ee809bf commit d26d356

4 files changed

Lines changed: 18 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ git checkout -b feature-more-cool-stuff
9898
# Code stuff
9999
```
100100
Then push your changes and create a PR
101+
#### update requirements with pip-tools
102+
```bash
103+
# update requirements.txt
104+
pip-compile --no-annotate --no-header --rebuild requirements.in
105+
# sync venv
106+
pip-sync
107+
```
101108

102109
#### Manually Bump Version
103110
```

dev_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
pip-tools
12
pre-commit
23
black
34
sphinx

requirements.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
casbin
2+
flask>=0.12.2,~=1.1.2

requirements.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
casbin
2-
flask
1+
casbin==0.8.4
2+
click==7.1.2
3+
flask>=0.12.2,~=1.1.2
4+
itsdangerous==1.1.0
5+
jinja2==2.11.2
6+
markupsafe==1.1.1
7+
simpleeval==0.9.10
8+
werkzeug==1.0.1

0 commit comments

Comments
 (0)