Skip to content
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

Building wheels #30

Open
ealerskans opened this issue Mar 22, 2024 · 0 comments
Open

Building wheels #30

ealerskans opened this issue Mar 22, 2024 · 0 comments

Comments

@ealerskans
Copy link
Collaborator

Building wheels for dlotter currently fails with the following error message:

Building wheels for collected packages: dlotter
  Building wheel for dlotter (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [68 lines of output]
      /home/ea/miniconda3/lib/python3.11/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib
      creating build/lib/dlotter
      copying dlotter/plot.py -> build/lib/dlotter
      copying dlotter/comeps.py -> build/lib/dlotter
      copying dlotter/arguments.py -> build/lib/dlotter
      copying dlotter/meteogram.py -> build/lib/dlotter
      copying dlotter/utils.py -> build/lib/dlotter
      copying dlotter/read.py -> build/lib/dlotter
      copying dlotter/prepare.py -> build/lib/dlotter
      copying dlotter/__main__.py -> build/lib/dlotter
      copying dlotter/__init__.py -> build/lib/dlotter
      copying dlotter/plotdiff.py -> build/lib/dlotter
      running egg_info
      writing dlotter.egg-info/PKG-INFO
      writing dependency_links to dlotter.egg-info/dependency_links.txt
      writing requirements to dlotter.egg-info/requires.txt
      writing top-level names to dlotter.egg-info/top_level.txt
      reading manifest file 'dlotter.egg-info/SOURCES.txt'
      adding license file 'LICENSE'
      writing manifest file 'dlotter.egg-info/SOURCES.txt'
      /home/ea/miniconda3/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
      !!
      
              ********************************************************************************
              Please avoid running ``setup.py`` directly.
              Instead, use pypa/build, pypa/installer or other
              standards-based tools.
      
              See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
              ********************************************************************************
      
      !!
        self.initialize_options()
      installing to build/bdist.linux-x86_64/wheel
      running install
      running install_lib
      creating build/bdist.linux-x86_64
      creating build/bdist.linux-x86_64/wheel
      creating build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/plot.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/comeps.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/arguments.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/meteogram.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/utils.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/read.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/prepare.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/__main__.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/__init__.py -> build/bdist.linux-x86_64/wheel/dlotter
      copying build/lib/dlotter/plotdiff.py -> build/bdist.linux-x86_64/wheel/dlotter
      running install_data
      creating build/bdist.linux-x86_64/wheel/dlotter-0.0.2.2.data
      creating build/bdist.linux-x86_64/wheel/dlotter-0.0.2.2.data/data
      creating build/bdist.linux-x86_64/wheel/dlotter-0.0.2.2.data/data/dlotter
      error: can't copy 'dlotter/icons/*': doesn't exist or not a regular file
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for dlotter
  Running setup.py clean for dlotter
Failed to build dlotter
ERROR: Failed to build one or more wheels

Furthermore, there is a dependency missing; netcdf4. This should be added to setup.py

     install_requires=[
         'wheel',
         'dmit',
         'xarray',
         'numpy',
         'netcdf4',
         'cartopy',
         'eccodes',
         'pygrib',
         'scipy',
         ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant