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

Add MANIFEST.in so requirements.txt is present in sdist #4191

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

iamthebot
Copy link
Contributor

@iamthebot iamthebot commented Jun 11, 2024

What does this PR do?

Ensures that requirements.txt and the LICENSE file are correctly included in the source distribution (sdist) when the package is built (and eg; published to pypi).

Without this, we cannot build a conda package because a wheel cannot be successfully built from the current sdist (requirements.txt file is referenced by setup.py but is missing in the sdist).

Tested that this change correctly includes the requirements.txt file in the sdist using the procedure in the linked issue.

Fixes #4190

Before submitting

Copy link
Owner

@hiyouga hiyouga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiyouga hiyouga added the solved This problem has been already solved label Jun 11, 2024
@hiyouga hiyouga merged commit 796699f into hiyouga:main Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sdist on pypi is missing requirements.txt
2 participants