Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasK committed Dec 12, 2024
2 parents 34a10ac + 048ecd3 commit 1dfbf46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 24 deletions.
24 changes: 1 addition & 23 deletions quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/robmarkcole/earthdaily-python-client/blob/update-documentation/quickstart.ipynb)"
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/earthdaily/earthdaily-python-client/blob/main/quickstart.ipynb)"
]
},
{
Expand Down Expand Up @@ -68,28 +68,6 @@
" print(\"No .env file found\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Validate credentials are present"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"\n",
"# check the EDS_AUTH_URL env var is set\n",
"if not os.getenv(\"EDS_API_URL\"):\n",
" raise ValueError(\"EDS_AUTH_URL not set in .env file\")\n",
"else:\n",
" print(\"EDS_AUTH_URL found: \", os.getenv(\"EDS_API_URL\"))"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@
if line.startswith("__version__"):
version = line.split("=")[1].split('"')[1]

with open("README.md", encoding="utf-8") as f:
long_description = f.read()

setup(
name="earthdaily",
packages=find_packages(exclude=['tests']),
version=version,
description="earthdaily: easy authentication, search and retrieval of Earth Data Store collections data",
author="EarthDaily Agro",
python_requires=">=3.10",
long_description=open("README.md").read(),
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[
"numpy",
Expand Down

0 comments on commit 1dfbf46

Please sign in to comment.