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

readme.md needs to be changed to uppercase #230

Open
mysticaltech opened this issue Jan 22, 2025 · 1 comment
Open

readme.md needs to be changed to uppercase #230

mysticaltech opened this issue Jan 22, 2025 · 1 comment

Comments

@mysticaltech
Copy link

I got this error:

          getattr(self, attribute)
          ~~~~~~~^^^^^^^^^^^^^^^^^
        File "/home/karim/.cache/uv/builds-v0/.tmpW64yAI/lib64/python3.13/site-packages/hatchling/metadata/core.py", line 531, in
      readme
          raise OSError(message)
      OSError: Readme file does not exist: README.md

      hint: This usually indicates a problem with the package or the build environment.

It gets fixed just by issuing mv readme.md README.md

@kodden-br
Copy link

Hello, just add to your solution.

In the pyproject.toml file, the readme is specified as README.md with uppercase letters, but the actual file is readme.md with lowercase letters. Fix this by either:

  • Renaming the existing file to match the name in pyproject.toml
    mv readme.md README.md

  • Changing the specification in pyproject.toml to match the existing file.
    sed -i -e 's/readme.md/README.md/g' ./pyproject.toml

Regards!

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

2 participants