Skip to content

Commit e93f24f

Browse files
authored
feat: switch from casbin to pycasbin
1 parent 7556b74 commit e93f24f

File tree

3 files changed

+34
-5
lines changed

3 files changed

+34
-5
lines changed

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
casbin >= 1.0.0
1+
pycasbin >= 2.0.0
22
flask >= 1.1.0
33
PyJWT >= 2.0.1

requirements.txt

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1-
casbin >= 1.0.0
2-
flask >= 1.1.0
3-
PyJWT >= 2.0.1
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile requirements.in
6+
#
7+
blinker==1.9.0
8+
# via flask
9+
click==8.2.1
10+
# via flask
11+
colorama==0.4.6
12+
# via click
13+
flask==3.1.1
14+
# via -r requirements.in
15+
itsdangerous==2.2.0
16+
# via flask
17+
jinja2==3.1.6
18+
# via flask
19+
markupsafe==3.0.2
20+
# via
21+
# flask
22+
# jinja2
23+
# werkzeug
24+
pycasbin==2.0.0
25+
# via -r requirements.in
26+
pyjwt==2.10.1
27+
# via -r requirements.in
28+
simpleeval==1.0.3
29+
# via pycasbin
30+
werkzeug==3.1.3
31+
# via flask

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
data_files=[desc_file],
5353
include_package_data=True,
5454
dependency_links=dependency_links,
55-
download_url="https://github.com/officialpycasbin/flask-authz/tarball/v" + download_v,
55+
download_url="https://github.com/officialpycasbin/flask-authz/tarball/v"
56+
+ download_v,
5657
license="Apache 2.0",
5758
classifiers=[
5859
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)