Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump shapely to 2.0.5. Add local dev config #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ celerybeat.pid

# Environments
.env
.env.test
.venv
env/
venv/
Expand Down Expand Up @@ -138,4 +139,4 @@ dmypy.json
cython_debug/


/.vscode
/.vscode
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,21 @@ ee.download('LT51960471995178MPS00', output_dir='./data')

ee.logout()
```


## Local development

To create a local development version of the library:

([Poetry](https://python-poetry.org/) recommended: `pip install poetry`)

```bash
git clone git@github.com:barneyjackson/landsatxplore.git .
poetry install
```

Create a copy of `example.env` named `.env` and add your credentials.

### Tests

Run `env $(cat .env) poetry run pytest tests/`
2 changes: 2 additions & 0 deletions example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
LANDSATXPLORE_USERNAME=
LANDSATXPLORE_PASSWORD=
Loading