diff --git a/quickstart.ipynb b/quickstart.ipynb index 062dcd23..a1891a5d 100644 --- a/quickstart.ipynb +++ b/quickstart.ipynb @@ -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)" ] }, { @@ -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": {}, diff --git a/setup.py b/setup.py index c6659542..4c639255 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,9 @@ 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']), @@ -14,7 +17,7 @@ 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",