-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
535 changed files
with
6,491 additions
and
99,610 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.ipynb linguist-language=Python | ||
libpysal/_version.py export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
name: Build Docs | ||
on: | ||
push: | ||
# Sequence of patterns matched against refs/tags | ||
tags: | ||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: Manual Doc Build Reason | ||
default: test | ||
required: false | ||
|
||
jobs: | ||
docs: | ||
name: Build & Push Docs | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 90 | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest'] | ||
environment-file: [ci/310.yaml] | ||
experimental: [false] | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup micromamba | ||
uses: mamba-org/provision-with-micromamba@main | ||
with: | ||
environment-file: ${{ matrix.environment-file }} | ||
micromamba-version: 'latest' | ||
|
||
- name: Make Docs | ||
run: cd docs; make html | ||
|
||
- name: Commit Docs | ||
run: | | ||
git clone https://github.com/ammaraskar/sphinx-action-test.git --branch gh-pages --single-branch gh-pages | ||
cp -r docs/_build/html/* gh-pages/ | ||
cd gh-pages | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add . | ||
git commit -m "Update documentation" -a || true | ||
# The above command will fail if no changes were present, | ||
# so we ignore the return code. | ||
- name: push to gh-pages | ||
uses: ad-m/github-push-action@master | ||
with: | ||
branch: gh-pages | ||
directory: gh-pages | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
force: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
repos: | ||
- repo: https://github.com/ambv/black | ||
rev: stable | ||
hooks: | ||
- id: black | ||
language_version: python3.8 | ||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
hooks: | ||
- id: black | ||
language_version: python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
include authors.txt LICENSE.txt THANKS.txt CHANGELOG.md MANIFEST.in pysal/COPYING requirements_dev.txt requirements_plus.txt requirements.txt requirements_plus_conda.txt requirements_plus_pip.txt requirements_docs.txt | ||
|
||
include versioneer.py | ||
include libpysal/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: test | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.10 | ||
- platformdirs | ||
- beautifulsoup4 | ||
- jinja2 | ||
- pandas | ||
- scipy | ||
- xarray | ||
# testing | ||
- codecov | ||
- matplotlib | ||
- pytest | ||
- pytest-cov | ||
- pytest-xdist | ||
# optional | ||
- geopandas | ||
- joblib | ||
- networkx | ||
- numba | ||
- packaging | ||
- zstd | ||
# for docs build action (this env only) | ||
- nbsphinx | ||
- numpydoc | ||
- sphinx | ||
- sphinxcontrib-bibtex | ||
- sphinx_bootstrap_theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: test | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.11 | ||
- platformdirs | ||
- beautifulsoup4 | ||
- jinja2 | ||
- pandas | ||
- scipy | ||
- xarray | ||
# testing | ||
- codecov | ||
- matplotlib | ||
- pytest | ||
- pytest-cov | ||
- pytest-xdist | ||
# optional | ||
- geopandas | ||
- joblib | ||
- networkx | ||
- packaging | ||
- zstd | ||
- Cython | ||
- pip | ||
- pip: | ||
# dev versions of packages | ||
- --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple | ||
- scipy | ||
- pandas | ||
- git+https://github.com/shapely/shapely.git@main | ||
- git+https://github.com/geopandas/geopandas.git@main | ||
- git+https://github.com/pydata/xarray.git@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: test | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.11 | ||
- platformdirs | ||
- beautifulsoup4 | ||
- jinja2 | ||
- pandas | ||
- scipy | ||
- xarray | ||
# testing | ||
- codecov | ||
- matplotlib | ||
- pytest | ||
- pytest-cov | ||
- pytest-xdist | ||
# optional | ||
- geopandas>=0.12.0 | ||
- joblib | ||
- networkx | ||
- packaging | ||
- shapely>=2.0b1 | ||
- xarray | ||
- zstd |
Oops, something went wrong.