File tree Expand file tree Collapse file tree 3 files changed +35
-38
lines changed Expand file tree Collapse file tree 3 files changed +35
-38
lines changed Original file line number Diff line number Diff line change 38
38
password : ${{ secrets.DOCKER_PASS }}
39
39
40
40
- name : Cache Docker layers
41
- uses : actions/cache@v3
41
+ uses : actions/cache@v4
42
42
with :
43
43
path : /tmp/.buildx-cache
44
44
key : ${{ runner.os }}-buildx-${{ github.sha }}
89
89
90
90
- name : ' Install Python 3.11'
91
91
if : ${{ env.latest }}
92
- uses : actions/setup-python@v4
92
+ uses : actions/setup-python@v5
93
93
with :
94
94
python-version : ' 3.11'
95
95
@@ -110,16 +110,14 @@ jobs:
110
110
uses : actions/checkout@v4
111
111
112
112
- name : ' Install Python 3.11'
113
- uses : actions/setup-python@v4
113
+ uses : actions/setup-python@v5
114
114
with :
115
115
python-version : ' 3.11'
116
116
117
117
- name : ' Build Python package'
118
- env :
119
- GEOSPAAS_REST_API_RELEASE : ${{ github.ref_name }}
120
118
run : >
121
- pip install wheel &&
122
- python setup.py sdist bdist_wheel
119
+ pip install build &&
120
+ python -m build
123
121
124
122
- name : ' Deploy package to the Github release'
125
123
env :
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools" , " setuptools_scm" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [tool .setuptools_scm ]
6
+
7
+ [project ]
8
+ name = " geospaas_rest_api"
9
+ description = " REST API for GeoSPaaS"
10
+ readme = " README.md"
11
+ authors = [{name = " Adrien Perrin" , email = " adrien.perrin@nersc.no" }]
12
+ license = {file = " LICENSE" }
13
+ classifiers = [
14
+ " Programming Language :: Python :: 3" ,
15
+ " License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
16
+ " Operating System :: POSIX :: Linux" ,
17
+ ]
18
+ requires-python = " >=3.7"
19
+ dependencies = [
20
+ " django_geo_spaas" ,
21
+ " django-filter" ,
22
+ " djangorestframework" ,
23
+ " djangorestframework-filters==1.0.0dev2" ,
24
+ " markdown" ,
25
+ ]
26
+ urls = {Repository = " https://github.com/nansencenter/django-geo-spaas-rest-api" }
27
+ dynamic = [" version" ]
28
+
29
+ [tool .setuptools ]
30
+ packages = [" geospaas_rest_api" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments