-
Notifications
You must be signed in to change notification settings - Fork 114
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
PyPI sdists are not self-contained #1267
Comments
Essentially a continuation of gh-1028. |
This also means that installing a development version from GitHub doesn't work:
this will properly install the Python files, but not perform a |
Recommendations from the Python Packaging forum https://discuss.python.org/t/best-practices-for-packaging-python-javascript-projects/27047?u=astrojuanlu
The former can be done without the latter, I'd say (although it would be nice to do both). |
Given that the workflow is designed with NodeJS 16 in mind, which is a bit old, it would be easier (both on the kedro-viz side and downstream) to go for the first option and bundle the JS files with the sdist. |
This open issue here, could be the master to address all pypi distribution related fixes needed. Linking Relevant comments & threads. |
Description
As per title. The reason is that
package.json
andREADME.md
are not included in the sdist.Context
I was trying to add kedro-viz to conda-forge, picking up on conda-forge/staged-recipes#21441.
Steps to Reproduce
Expected Result
Installing from a PyPI sdist should work.
Actual Result
Trying to install from a PyPI sdist gave an immediate error.
Your Environment
Include as many relevant details as possible about the environment you experienced the bug in:
Checklist
The text was updated successfully, but these errors were encountered: