File tree Expand file tree Collapse file tree 7 files changed +61
-43
lines changed Expand file tree Collapse file tree 7 files changed +61
-43
lines changed Original file line number Diff line number Diff line change @@ -87,16 +87,13 @@ jobs:
87
87
node-version : ' 18'
88
88
89
89
- name : Setup
90
- run : npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi
91
-
90
+ run : npm install
91
+
92
92
- name : Set up python
93
- uses : actions/setup-python@v2
93
+ uses : actions/setup-python@v4
94
94
with :
95
- python-version : ' 3.10'
96
-
97
- - name : Install setuptools
98
- run : python -m pip install --upgrade setuptools wheel twine
99
-
95
+ python-version : 3.11
96
+
100
97
- name : Release
101
98
env :
102
99
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -132,3 +132,6 @@ dmypy.json
132
132
* .iml
133
133
134
134
.DS_Store
135
+
136
+ # node
137
+ node_modules
Original file line number Diff line number Diff line change 16
16
" @semantic-release/git" ,
17
17
{
18
18
"message" : " chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}" ,
19
- "assets" : [" CHANGELOG.md" , " setup.py " , " setup.cfg " ]
19
+ "assets" : [" CHANGELOG.md" , " pyproject.toml " ]
20
20
}
21
21
]
22
22
]
Original file line number Diff line number Diff line change
1
+ {
2
+ "devDependencies" : {
3
+ "@semantic-release/changelog" : " ^6.0.3" ,
4
+ "@semantic-release/git" : " ^10.0.1" ,
5
+ "semantic-release" : " ^22.0.5" ,
6
+ "semantic-release-pypi" : " ^3.0.0"
7
+ }
8
+ }
Original file line number Diff line number Diff line change
1
+ [project ]
2
+ name = " casbin-django-orm-adapter"
3
+ version = " 1.1.2"
4
+ authors = [
5
+ {name = " Yang Luo" , email = " hsluoyz@qq.com" },
6
+ ]
7
+ description = " Django's ORM adapter for PyCasbin"
8
+ readme = " README.md"
9
+ keywords = [
10
+ " casbin" ,
11
+ " adapter" ,
12
+ " storage-driver" ,
13
+ " django" ,
14
+ " orm" ,
15
+ " django-orm" ,
16
+ " access-control" ,
17
+ " authorization"
18
+ ]
19
+ dynamic = [" dependencies" ]
20
+ requires-python = " >=3.7"
21
+ license = {text = " Apache 2.0" }
22
+ classifiers = [
23
+ " Programming Language :: Python :: 3.7" ,
24
+ " Programming Language :: Python :: 3.8" ,
25
+ " Programming Language :: Python :: 3.9" ,
26
+ " Programming Language :: Python :: 3.10" ,
27
+ " Programming Language :: Python :: 3.11" ,
28
+ " License :: OSI Approved :: Apache Software License" ,
29
+ " Operating System :: OS Independent" ,
30
+ ]
31
+
32
+ [project .urls ]
33
+ Home-page = " https://github.com/pycasbin/django-orm-adapter"
34
+
35
+ [build-system ]
36
+ requires = [" setuptools" ]
37
+ build-backend = " setuptools.build_meta"
38
+
39
+ [tool .setuptools .packages .find ]
40
+ exclude = [" tests" ]
41
+
42
+ [tool .setuptools .dynamic ]
43
+ dependencies = {file = [" requirements.txt" ]}
44
+
1
45
[tool .black ]
2
46
line-length = 120
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments