Skip to content

Commit

Permalink
Add uv installation instructions (#57)
Browse files Browse the repository at this point in the history
* Add uv installation instructions

* Add more packages

* Skip pdal
  • Loading branch information
giswqs authored Sep 22, 2024
1 parent 530be94 commit 2011566
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
14 changes: 13 additions & 1 deletion docs/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,24 @@
"\n",
"## Installation\n",
"\n",
"### Mamba\n",
"\n",
"Installing commonly used packages for geospatial analysis and data visualization with only one command.\n",
"\n",
"```\n",
"```bash\n",
"mamba install -c conda-forge geospatial\n",
"```\n",
"\n",
"### uv\n",
"\n",
"[uv](https://docs.astral.sh/uv/) us an extremely fast Python package and project manager, written in Rust. It is designed to be a drop-in replacement for pip. You can install `geospatial` using `uv` as follows:\n",
"\n",
"```bash\n",
"uv install geospatial\n",
"uv pip install gdal pdal --find-links https://girder.github.io/large_image_wheels\n",
"```\n",
"\n",
"\n",
"## Video Tutorial\n",
"\n",
"[![Introducing geospatial](images/thumbnail.png)](https://youtu.be/t7eJKQwacOE \"Introducing geospatial\")"
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ classifiers = [
]
authors = [{name = "Qiusheng Wu", email = "giswqs@gmail.com"}]

[project.optional-dependencies]
all = [
"lidar",
]

[tool]
[tool.setuptools.packages.find]
include = ["geospatial*"]
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mapboxgl
mapclassify
maplibre; python_version >= '3.9'
mapwidget
# movingpandas
movingpandas
mss
netcdf4
networkx
Expand All @@ -56,7 +56,7 @@ plotly
# proplot
# psycopg2
pydeck
pygis
pygis >=0.6.5
pyntcloud
pyproj
pysal
Expand Down

0 comments on commit 2011566

Please sign in to comment.