Cannot install on macos

Issue is with "tensorflow" package, which for some reason, is call "tensorflow-macos" for mac.

I would gladly do it but I cannot fork the project.

The fix the would be changing setup.py to :

install_requires=[
  'matplotlib',  # for plotting
  'numpy',  # for numerical calculations
  'numpy-financial',  # for irr calculations
  'openmdao>=3.16',  # for optimization
  'pytest',  # for testing
  'pycodestyle',  # for testing
  'pytest-cov',  # for calculating coverage
  'py_wake>=2',  # for calculating AEP
  'pyDOE2',  # for GA driver
  'pymongo[srv]',  # for mongo_recorder
  'scipy',  # constraints
  'sphinx',  # generating documentation
  'sphinx_rtd_theme',  # docs theme
  'scikit-learn',  # load surrogate
  'mock',  # replace variables during tests
  'shapely>=1.8.2',  # for multiple polygon boundaries and exclusion zones
  'memory_profiler',  # memory profiling
]

if platform.system() == 'Darwin':  # macOS
  install_requires.append('tensorflow-macos')
else:
  install_requires.append('tensorflow')

setup(name='topfarm',
      version=version,
      description='Topfarm - Wind farm optimization using OpenMDAO',
      long_description=read('README'),
      url='https://gitlab.windenergy.dtu.dk/TOPFARM/topfarm2',
      author='DTU Wind Energy',
      author_email='mikf@dtu.dk',
      license='MIT',
      install_requires=install_requires,
      packages=find_packages(),
      zip_safe=True)
Edited by Olivier Chatry