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

Convert from sdist #78

Open
analog-cbarber opened this issue Sep 10, 2023 · 2 comments
Open

Convert from sdist #78

analog-cbarber opened this issue Sep 10, 2023 · 2 comments
Assignees
Labels
component: convert new feature Entirely new feature (e.g. new subcommand)

Comments

@analog-cbarber
Copy link
Collaborator

Support conversion from sdist files to conda packages.

The python source distribution file format is described here:

https://packaging.python.org/en/latest/specifications/source-distribution-format/

The PKG-INFO file in the distribution has metadata in the same format as the METADATA
file in a wheel (not sure if there are any differences).

Any script entrypoints must be found in the pyproject.toml file.

@analog-cbarber
Copy link
Collaborator Author

It isn't entirely clear from the documentation, but I think you can build a wheel from the sdist using pip wheel *.tar.gz,
so we could just build a wheel and go from there.

@analog-cbarber analog-cbarber self-assigned this Jan 8, 2024
@analog-cbarber analog-cbarber added new feature Entirely new feature (e.g. new subcommand) and removed enhancement New feature or request labels Apr 14, 2024
@analog-cbarber
Copy link
Collaborator Author

We would want to make sure to error out if the sdist is not pure python. Would --no-binary :all: do this or does that only affect dependencies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: convert new feature Entirely new feature (e.g. new subcommand)
Projects
None yet
Development

No branches or pull requests

1 participant