From 0c5dd0e5933d2a20e173731bdc68007680ff364d Mon Sep 17 00:00:00 2001 From: arcticsnow Date: Fri, 23 Dec 2022 10:54:56 +0100 Subject: [PATCH] improved setup.py for one line install. new version --- setup.cfg | 2 +- setup.py | 25 ++++++++++++++++++++++--- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 182e8d0..7a5c03d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,4 @@ # Inside of setup.cfg [metadata] long_description = file: README.md -long_description_content_type = text/markdown +long_description_content_type = text/markdown \ No newline at end of file diff --git a/setup.py b/setup.py index d54b1f0..329bac5 100644 --- a/setup.py +++ b/setup.py @@ -9,13 +9,18 @@ setup( name='topopyscale', - version='0.1.6', + version='0.1.7', description='A Python package to perform climate downscaling at the hillslope scale', long_description=long_description, # The project's main homepage. url='https://github.com/ArcticSnow/TopoPyScale', download_url = 'https://github.com/ArcticSnow/TopoPyScale/releases/latest', + project_urls={ + 'Documentation':'https://topopyscale.readthedocs.io/en/latest/', + 'Source':'https://github.com/ArcticSnow/TopoPyScale', + 'Examples':'https://github.com/ArcticSnow/TopoPyScale_examples' + }, # Author details author=['Simon Filhol', 'Joel Fiddes', 'Kristoffer Aalstad'], author_email='simon.filhol@geo.uio.no', @@ -48,7 +53,21 @@ # What does your project relate to? keywords=['climate', 'downscaling', 'meteorology', 'xarray'], packages=find_packages(), - install_requires=['matplotlib', 'scikit-learn', 'pandas', 'numpy', 'netcdf4', 'h5netcdf', 'pvlib', 'topocalc', 'cdsapi', - 'rasterio', 'pyproj', 'dask', 'configobj', 'munch'], + python_requires='>=3.8', + install_requires=['xarray[complete]', + 'matplotlib', + 'scikit-learn', + 'pandas', + 'numpy', + 'netcdf4', + 'h5netcdf', + 'pvlib', + 'topocalc', + 'cdsapi', + 'rasterio', + 'pyproj', + 'dask', + 'configobj', + 'munch'], include_package_data=True )