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

Build wheel unable to find documentation files (building from 2024-02-24 repo) #233

Open
ImportTaste opened this issue Feb 23, 2024 · 0 comments

Comments

@ImportTaste
Copy link

ImportTaste commented Feb 23, 2024

> pip install tldr@git+https://github.com/tldr-pages/tldr-python-client#egg=tldr
Building wheels for collected packages: tldr
  Building wheel for tldr (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for tldr (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib
      copying tldr.py -> build\lib
      installing to build\bdist.win-amd64\wheel
      running install
      running install_lib
      creating build\bdist.win-amd64
      creating build\bdist.win-amd64\wheel
      copying build\lib\tldr.py -> build\bdist.win-amd64\wheel\.
      running install_data
      creating build\bdist.win-amd64\wheel\tldr-3.2.0.data
      creating build\bdist.win-amd64\wheel\tldr-3.2.0.data\data
      creating build\bdist.win-amd64\wheel\tldr-3.2.0.data\data\share
      creating build\bdist.win-amd64\wheel\tldr-3.2.0.data\data\share\man
      creating build\bdist.win-amd64\wheel\tldr-3.2.0.data\data\share\man\man1
      error: can't copy 'docs\man\tldr.1': 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 tldr
Failed to build tldr
ERROR: Could not build wheels for tldr, which is required to install pyproject.toml-based projects

When I removed the data_files= line of setup.py in a fork, it built successfully, but didn't create any documentation files.

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