Skip to content

Commit

Permalink
add TF<2.14 to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiospuriomancini committed Jul 28, 2024
1 parent 9376e48 commit 65fa9d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Comprehensive documentation is available [here](https://alessiospuriomancini.git
We recommend installing ``CosmoPower`` within a [Conda](https://docs.conda.io/projects/conda/en/latest/index.html) virtual environment.
For example, to create and activate an environment called ``cp_env``, use:

conda create -n cp_env python=3.7 pip && conda activate cp_env
conda create -n cp_env python=3.11 pip && conda activate cp_env

Once inside the environment, you can install ``CosmoPower``:

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ def read_file(file):
if 'arm' in os.uname().machine:
tensorflow = 'tensorflow-metal'
else:
tensorflow = 'tensorflow>2.0'
tensorflow = 'tensorflow<2.14'

setup(classifiers=['Operating System :: OS Independent',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research'
],
name='cosmopower',
version='v0.1.3',
version='v0.2.0',
description='Machine Learning - accelerated Bayesian inference',
long_description_content_type = "text/markdown",
long_description = long_description,
author='Alessio Spurio Mancini',
author_email='a.spuriomancini@ucl.ac.uk',
author_email='alessio.spuriomancini@rhul.ac.uk',
license='GNU General Public License v3 (GPLv3)',
url='https://github.com/alessiospuriomancini/cosmopower',
packages=find_packages(),
Expand Down

0 comments on commit 65fa9d6

Please sign in to comment.