File tree 2 files changed +55
-4
lines changed
2 files changed +55
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Build python-awips and Publish for pip
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ release :
6
+ types :
7
+ - published
8
+
9
+ jobs :
10
+ build :
11
+ name : Build Release Packages
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Set up Python
16
+ id : setup
17
+ uses : actions/setup-python@v2
18
+ with :
19
+ python-version : 3.x
20
+
21
+ - name : Install build tools
22
+ run : |
23
+ python -m pip install --upgrade pip
24
+ python -m pip install --upgrade setuptools
25
+ - name : Build packages
26
+ run : python setup.py sdist
27
+
28
+ - name : Save built packages as artifact
29
+ uses : actions/upload-artifact@v2
30
+ with :
31
+ name : ${{ runner.os }}-${{ steps.setup.outputs.python-version }}
32
+ path : dist/
33
+ retention-days : 5
34
+
35
+ # publish:
36
+ # name: Publish to PyPI
37
+ # needs: build
38
+ # environment:
39
+ # name: PyPI
40
+ # url: https://pypi.org/project/python-awips/
41
+ # runs-on: ubuntu-latest
42
+ # steps:
43
+ # - name: Download packages
44
+ # uses: actions/download-artifact@v2
45
+ # with:
46
+ # path: ./dist
47
+ #
48
+ # - name: Publish Package
49
+ # uses: pypa/gh-action-pypi-publish@v1.4.2
50
+ # with:
51
+ # user: __token__
52
+ # password: ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 10
10
if sys .version_info < (3 , 4 ):
11
11
dependencies .append ('enum34' )
12
12
13
- ver = "18.1.7"
13
+ ver = "18.1.7-1 "
14
14
15
15
setup (
16
16
name = 'python-awips' ,
17
17
version = ver ,
18
18
description = 'A framework for requesting AWIPS meteorological datasets from an EDEX server' ,
19
19
packages = find_packages (exclude = 'data' ),
20
20
license = 'BSD' ,
21
- url = 'http://python-awips.readthedocs .io' ,
21
+ url = 'http://unidata.github .io/python-awips ' ,
22
22
download_url = 'https://github.com/Unidata/python-awips/archive/{}.tar.gz' .format (ver ),
23
23
author = 'Unidata' ,
24
- author_email = 'mjames @ucar.edu' ,
24
+ author_email = 'support-awips @ucar.edu' ,
25
25
install_requires = dependencies ,
26
26
extras_require = {
27
27
'cdm' : ['pyproj>=1.9.4' ],
30
30
'examples' : ['cartopy>=0.13.1' , 'metpy>=0.4.0' ]
31
31
}
32
32
)
33
-
You can’t perform that action at this time.
0 commit comments