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

Generate a setup.py file for downloaded python extensions #221

Closed
radu-stefan-dt opened this issue May 16, 2024 · 0 comments
Closed

Generate a setup.py file for downloaded python extensions #221

radu-stefan-dt opened this issue May 16, 2024 · 0 comments
Labels
improvement Enhancement of existing functionality

Comments

@radu-stefan-dt
Copy link
Collaborator

Summary
Packaged python extensions don't contain the setup.py file required for re-building them. This breaks the flow where user downloads a python extension, makes a change, and wants to package and upload it.

Current vs. Expected Behavior
Currently, when a downloaded python extension is built, the command errors with message message:

"ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found."

Ideally, after downloading the extension, during the unpacking process we would generate a setup.py file. At minimum level with just the sdk reference and a message for the user to add remaining dependencies, but ideally we'd detect and list them all there so there's no need for further action.

@radu-stefan-dt radu-stefan-dt added the improvement Enhancement of existing functionality label May 16, 2024
radu-stefan-dt added a commit that referenced this issue Jul 5, 2024
…p-py

close #221 generate setup.py when downloading extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Enhancement of existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant