File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 1010if sys .version_info < (3 , 4 ):
1111 dependencies .append ('enum34' )
1212
13- ver = "18.1.7"
13+ ver = "18.1.7-1 "
1414
1515setup (
1616 name = 'python-awips' ,
1717 version = ver ,
1818 description = 'A framework for requesting AWIPS meteorological datasets from an EDEX server' ,
1919 packages = find_packages (exclude = 'data' ),
2020 license = 'BSD' ,
21- url = 'http://python-awips.readthedocs .io' ,
21+ url = 'http://unidata.github .io/python-awips ' ,
2222 download_url = 'https://github.com/Unidata/python-awips/archive/{}.tar.gz' .format (ver ),
2323 author = 'Unidata' ,
24- author_email = 'mjames @ucar.edu' ,
24+ author_email = 'support-awips @ucar.edu' ,
2525 install_requires = dependencies ,
2626 extras_require = {
2727 'cdm' : ['pyproj>=1.9.4' ],
3030 'examples' : ['cartopy>=0.13.1' , 'metpy>=0.4.0' ]
3131 }
3232)
33-
You can’t perform that action at this time.
0 commit comments