Skip to content

Commit 924c5cb

Browse files
committed
update wheels for ubuntu
1 parent 075e1a7 commit 924c5cb

File tree

2 files changed

+11
-22
lines changed

2 files changed

+11
-22
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
env:
4545
CIBW_SKIP: "pp* *-musllinux*" # Skip PyPy and musllinux
4646
CIBW_BEFORE_ALL: >
47+
sudo apt-get install software-properties-common
48+
sudo add-apt-repository ppa:ubuntugis/ppa
49+
sudo apt-get install geos
4750
yum install -y geos-devel ||
4851
apt-get update && apt-get install -y libgeos-dev ||
4952
brew install geos

packages/basemap/pyproject.toml

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,41 +12,27 @@ build-backend = "setuptools.build_meta"
1212

1313
[project]
1414
name = "basemap"
15-
dynamic = ["version"]
15+
dynamic = ["version", "optional-dependencies"]
1616
description = "Plot data on map projections with matplotlib"
1717
readme = "README.md"
1818
requires-python = ">=3.9"
1919
license = {text = "MIT"}
2020
authors = [
2121
{name = "Jeff Whitaker", email = "jeffrey.s.whitaker@noaa.gov"}
2222
]
23-
maintainers = [
24-
{name = "The Matplotlib Developers"}
25-
]
26-
keywords = ["matplotlib", "plotting", "map", "projection"]
27-
classifiers = [
28-
"Development Status :: 5 - Production/Stable",
29-
"Intended Audience :: Science/Research",
30-
"License :: OSI Approved :: MIT License",
31-
"Programming Language :: Python :: 3",
32-
"Programming Language :: Python :: 3.9",
33-
"Programming Language :: Python :: 3.10",
34-
"Programming Language :: Python :: 3.11",
35-
"Programming Language :: Python :: 3.12",
36-
"Topic :: Scientific/Engineering :: Visualization",
37-
]
3823
dependencies = [
3924
"numpy>=1.21.4",
4025
"matplotlib>=3.4.0",
4126
"pyproj>=3.0.0"
4227
]
4328

44-
[project.urls]
45-
Homepage = "https://matplotlib.org/basemap"
46-
Documentation = "https://matplotlib.org/basemap/api/basemap_api.html"
47-
Repository = "https://github.com/matplotlib/basemap"
48-
"Bug Tracker" = "https://github.com/matplotlib/basemap/issues"
49-
5029
[tool.setuptools]
5130
packages = ["mpl_toolkits.basemap"]
5231
package-dir = {"" = "src"}
32+
py-modules = []
33+
34+
[tool.setuptools.package-data]
35+
"mpl_toolkits.basemap" = ["data/*"]
36+
37+
[tool.setuptools.exclude-package-data]
38+
"*" = ["*.pyc", "**/__pycache__/*", "**/.DS_Store/*"]

0 commit comments

Comments
 (0)