diff --git a/docs/install.rst b/docs/install.rst index 4d29be56..4fcc1dab 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -9,13 +9,14 @@ Optional but recommended step: install a conda environment:: conda create -n python=3.10 pip conda activate -Note: currently cosipy is not compatible with Python 3.11 and 3.12, mainly due to -installation issues with a dependency (astromodels, see issues `#201 `_ and `#204 `_) +Note: currently cosipy is not compatible with Python 3.12 due to +installation issues with dependencies (`threeML `_ and `astromodels `_) Install with pip:: - pip install cosipy - + pip install --use-pep517 cosipy + +Note: ``--use-pep517`` is a temporary workaround to install `astromodels with new setuptools versions`_. From source (for developers) ---------------------------- @@ -35,7 +36,7 @@ Do the following (preferably inside a conda environment):: git clone git@github.com:cositools/cosipy.git cd cosipy - pip install -e . + pip install --use-pep517 -e . The flag ``-e`` (``--editable``) allows you to make changes and try them without having to run ``pip`` again. diff --git a/setup.py b/setup.py index 3905341e..c124d5e6 100644 --- a/setup.py +++ b/setup.py @@ -25,10 +25,10 @@ install_requires = ["histpy", "mhealpy", "scoords", - 'astromodels', - 'threeml', + 'astromodels>=2.4.2', + 'threeml>=2.1.2', 'matplotlib<=3.8.3', - 'numba<=0.58.0', + 'numba', 'yayc', 'awscli'], description = "High-level analysis for the COSI telescope data",