Skip to content

Commit

Permalink
tune requirements for pypi , and install via pip
Browse files Browse the repository at this point in the history
  • Loading branch information
agrouaze committed Jun 30, 2023
1 parent adce8a8 commit 3bdccb2
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 1 deletion.
20 changes: 20 additions & 0 deletions ci/requirements/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: grdwindinversion-docs
channels:
- conda-forge
dependencies:
- python=3.10
- sphinx>=4
- sphinx-book-theme
- ipython
- myst-parser
- jinja2<=3.03
- pandoc
- numpydoc
- sphinx-rtd-theme
- nbsphinx
- jupyter-sphinx
- sphinxcontrib-programoutput
- aiohttp
- holoviews
- pip:
- -e ../..
35 changes: 35 additions & 0 deletions ci/requirements/environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: grdwindinversion-tests
channels:
- conda-forge
dependencies:
- python=3.10
# development
- ipython
- pre-commit
- jupyterlab
- jupyterlab_code_formatter
- isort
- black
- dask-labextension
# testing
- pytest
- pytest-reportlog
- hypothesis
- coverage
# I/O
- rioxarray
- h5netcdf
- zarr
- scipy
# data
- xarray
- xarray-datatree
- dask
- numpy
- pandas
- shapely
# processing
- more-itertools
- tqdm
- lxml
- importlib_resources
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@
with open('HISTORY.rst') as history_file:
history = history_file.read()

requirements = ['xsarsea']
requirements = [
'xsarsea',
'xsar',
'pyyaml',
'numpy',
'xarray',
'scipy'
]

test_requirements = [ ]

Expand Down

0 comments on commit 3bdccb2

Please sign in to comment.