Skip to content

Commit

Permalink
improved setup.py for one line install. new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticSnow committed Dec 23, 2022
1 parent 3cd157e commit 0c5dd0e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -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
25 changes: 22 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]',
Expand Down Expand Up @@ -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
)

0 comments on commit 0c5dd0e

Please sign in to comment.