Skip to content

Commit

Permalink
Merge pull request #7 from ScienceLogic/pin-requirements
Browse files Browse the repository at this point in the history
requirements management with pip-tools:
  • Loading branch information
hsluoyz committed Jul 2, 2020
2 parents 84eb480 + ee809bf commit d26d356
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -98,6 +98,13 @@ git checkout -b feature-more-cool-stuff
# Code stuff
```
Then push your changes and create a PR
#### update requirements with pip-tools
```bash
# update requirements.txt
pip-compile --no-annotate --no-header --rebuild requirements.in
# sync venv
pip-sync
```

#### Manually Bump Version
```
Expand Down
1 change: 1 addition & 0 deletions dev_requirements.txt
@@ -1,3 +1,4 @@
pip-tools
pre-commit
black
sphinx
Expand Down
2 changes: 2 additions & 0 deletions requirements.in
@@ -0,0 +1,2 @@
casbin
flask>=0.12.2,~=1.1.2
10 changes: 8 additions & 2 deletions requirements.txt
@@ -1,2 +1,8 @@
casbin
flask
casbin==0.8.4
click==7.1.2
flask>=0.12.2,~=1.1.2
itsdangerous==1.1.0
jinja2==2.11.2
markupsafe==1.1.1
simpleeval==0.9.10
werkzeug==1.0.1

0 comments on commit d26d356

Please sign in to comment.