-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleaner environment #30
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: xhydro-dev | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python >=3.9,<3.11 | ||
# Don't forget to sync the changes here with environment.yml! | ||
# Main packages | ||
# Dev | ||
- bump2version | ||
- coveralls | ||
- furo | ||
- ipykernel | ||
- ipython | ||
- jupyter_client | ||
- nbsphinx | ||
- nbval | ||
- pandoc | ||
- pooch | ||
- pre-commit | ||
- pytest | ||
- pytest-cov | ||
- sphinx | ||
- sphinx-autoapi | ||
- sphinxcontrib-napoleon | ||
- sphinx-codeautolink | ||
- sphinx-copybutton | ||
- pip | ||
# Testing | ||
- tox >=4.0 | ||
# Packaging | ||
- build | ||
- wheel |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,38 +7,9 @@ | |
with open("README.rst") as readme_file: | ||
readme = readme_file.read() | ||
|
||
requirements = [ | ||
"bottleneck>=1.3.1", | ||
"cartopy", | ||
"cf-xarray>=0.6.1", | ||
"cftime>=1.4.1", | ||
"dask[array]>=2.6", | ||
"geopandas", | ||
"h5netcdf", | ||
"intake-xarray>=0.6.1", | ||
"jsonpickle", | ||
"numba", | ||
"numpy>=1.16.0", | ||
"pandas>=0.23", | ||
"pint>=0.10", | ||
"pyarrow", | ||
"pyyaml", | ||
"s3fs>=2022.7.0", | ||
"scipy>=1.2", | ||
"xarray>=0.17.0", | ||
"xclim>=0.43.0", | ||
"zarr>=2.11.1", | ||
] | ||
requirements = [] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @RondeauG and I spoke about this earlier. As we start adding content to xhydro, we should progressvely add requirements here. That way it doesn`t take so long to install/test in the early stages. |
||
|
||
test_requirements = ["pytest>=3"] | ||
|
||
docs_requirements = [ | ||
dependency for dependency in open("requirements_docs.txt").readlines() | ||
] | ||
|
||
dev_requirements = [ | ||
dependency for dependency in open("requirements_dev.txt").readlines() | ||
] | ||
dev_requirements = ["pytest", "pytest-cov"] | ||
|
||
setup( | ||
author="Thomas-Charles Fortier Filion", | ||
|
@@ -69,9 +40,7 @@ | |
name="xhydro", | ||
packages=find_packages(include=["xhydro", "xhydro.*"]), | ||
test_suite="tests", | ||
tests_require=test_requirements, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This field is deprecated and the More info: https://docs.pytest.org/en/latest/explanation/goodpractices.html#do-not-run-via-setuptools |
||
extras_require={ | ||
"docs": docs_requirements, | ||
"dev": dev_requirements, | ||
}, | ||
url="https://github.com/TC-FF/xhydro", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like I mentioned in person, there are a few ways of going about building the docs:
Any of these approaches is fine. If we find that option 1 ends up being too slow, I can make something more custom resembling option 3 later...