Skip to content

Commit 1aa74ff

Browse files
committed
Add setup.cfg for basemap-data and basemap-data-hires
1 parent 745b979 commit 1aa74ff

File tree

6 files changed

+24
-16
lines changed

6 files changed

+24
-16
lines changed

.github/workflows/basemap-data-hires.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
name: Build wheel
5050
run: |
5151
cd ${{ env.PKGDIR }}
52-
python setup.py sdist bdist_wheel --universal
52+
python setup.py sdist bdist_wheel
5353
-
5454
name: Upload build artifacts
5555
uses: actions/upload-artifact@v1
@@ -119,9 +119,5 @@ jobs:
119119
TWINE_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
120120
TWINE_REPOSITORY_URL: "${{ secrets.PYPI_REPOSITORY_URL }}"
121121
run: |
122-
python -m twine check \
123-
${{ env.PKGDIR }}/dist/*.zip \
124-
${{ env.PKGDIR }}/dist/*.whl
125-
python -m twine upload --skip-existing \
126-
${{ env.PKGDIR }}/dist/*.zip \
127-
${{ env.PKGDIR }}/dist/*.whl
122+
python -m twine check ${{ env.PKGDIR }}/dist/*
123+
python -m twine upload --skip-existing ${{ env.PKGDIR }}/dist/*

.github/workflows/basemap-data.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
name: Build wheel
5050
run: |
5151
cd ${{ env.PKGDIR }}
52-
python setup.py sdist bdist_wheel --universal
52+
python setup.py sdist bdist_wheel
5353
-
5454
name: Upload build artifacts
5555
uses: actions/upload-artifact@v1
@@ -119,9 +119,5 @@ jobs:
119119
TWINE_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
120120
TWINE_REPOSITORY_URL: "${{ secrets.PYPI_REPOSITORY_URL }}"
121121
run: |
122-
python -m twine check \
123-
${{ env.PKGDIR }}/dist/*.zip \
124-
${{ env.PKGDIR }}/dist/*.whl
125-
python -m twine upload --skip-existing \
126-
${{ env.PKGDIR }}/dist/*.zip \
127-
${{ env.PKGDIR }}/dist/*.whl
122+
python -m twine check ${{ env.PKGDIR }}/dist/*
123+
python -m twine upload --skip-existing ${{ env.PKGDIR }}/dist/*

packages/basemap_data/setup.cfg

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[metadata]
2+
license_files =
3+
COPYING
4+
COPYING.LESSER
5+
LICENSE.epsg
6+
LICENSE.mit
7+
8+
[bdist_wheel]
9+
universal = 1

packages/basemap_data/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def _default_to_zip(self):
8787
"name":
8888
"basemap_data",
8989
"version":
90-
"1.3.0",
90+
"1.3.0+dev",
9191
"license":
9292
"GNU Lesser General Public License v3 or later (LGPLv3+)",
9393
"description":
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[metadata]
2+
license_files =
3+
COPYING
4+
COPYING.LESSER
5+
6+
[bdist_wheel]
7+
universal = 1

packages/basemap_data_hires/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _default_to_zip(self):
6565
"name":
6666
"basemap_data_hires",
6767
"version":
68-
"1.3.0",
68+
"1.3.0+dev",
6969
"license":
7070
"GNU Lesser General Public License v3 or later (LGPLv3+)",
7171
"description":

0 commit comments

Comments
 (0)