File tree 4 files changed +42
-1
lines changed
4 files changed +42
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : PyPI Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*"
7
+
8
+ jobs :
9
+ build-and-publish :
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ contents : read
13
+ id-token : write
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+
17
+ - name : Set up Python
18
+ uses : actions/setup-python@v3
19
+ with :
20
+ python-version : " 3.11"
21
+
22
+ - name : Install dependencies
23
+ run : |
24
+ pip install setuptools wheel
25
+
26
+ - name : Build the package
27
+ run : |
28
+ python setup.py sdist bdist_wheel
29
+
30
+ - name : Upload to PyPI
31
+ uses : pypa/gh-action-pypi-publish@release/v1
32
+ with :
33
+ password : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change @@ -11,4 +11,7 @@ __pycache__
11
11
best_model_old_arch /
12
12
multirun /
13
13
* .nc
14
- xsarml.ipynb
14
+ xsarml.ipynb
15
+ build /
16
+ dist /
17
+ l2winddir.egg-info /
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools>=42" , " wheel" ]
3
+ build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change 6
6
description = 'A package for l2 wind direction' ,
7
7
author = 'jean2262' ,
8
8
9
+ long_description = open ("README.md" ).read (),
10
+ long_description_content_type = "text/markdown" ,
9
11
packages = find_packages (),
10
12
install_requires = [
11
13
'hydra-core' ,
You can’t perform that action at this time.
0 commit comments