Skip to content

Commit

Permalink
Allow setuptools>60 to fix security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Wasja Bloch committed Oct 23, 2023
1 parent dc1a8b9 commit c8e2cb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Authors: [Wasja Bloch](https://www.eoas.ubc.ca/people/wasjabloch), [Pascal Audet

To avoid conflicts with other programs, it is recommended to install *PyRaysum* inside a designated `conda` environment (called here `prs`) alongside its dependecies.
```
conda create -n prs "python<3.12" "numpy<1.23" "setuptools<60.0" fortran-compiler obspy -c conda-forge
conda create -n prs "python<3.12" "numpy<1.23" setuptools fortran-compiler obspy -c conda-forge
conda activate prs
```
If you are using an alternative *Python* interpreter (e.g., *IPython* or a *Jupyter*
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def find_version(*paths):
'Programming Language :: Fortran',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'],
install_requires=['numpy>=1.15,<1.23', 'obspy>=1.0.0', 'matplotlib', 'setuptools<60.0'],
install_requires=['numpy>=1.15,<1.23', 'obspy>=1.0.0', 'matplotlib', 'setuptools'],
python_requires='>=3.7,<3.12',
ext_modules = [ext],
packages=setuptools.find_packages(),
Expand Down

0 comments on commit c8e2cb1

Please sign in to comment.