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

Consider producing sdists (if feasible) #10

Open
ncoghlan opened this issue Jul 20, 2019 · 1 comment
Open

Consider producing sdists (if feasible) #10

ncoghlan opened this issue Jul 20, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@ncoghlan
Copy link

Something that came up in the discussion over on pypa/packaging-problems#25 is that there are two quite distinct reasons for publishing projects to PyPI:

  1. To provide binary wheels for folks using the default Python package installation toolchain (which conda-press already tackles)
  2. To provide automated build instructions (in the form of an sdist) for folks creating binary artifacts in assorted packaging formats (Linux distro packages, conda, Mac homebrew, ActiveState's PyPM, Enthought's Canopy, etc)

Historically, producing sdists would have been impractical, as getting build dependencies into the build environment would have been painful. With PEP 517/518 though, conda-press could potentially produce sdists that relied on conda-build to run the actual build process.

If this could be done, then it may be a viable fallback where the full wheels are overly large due to the number of dependencies they need to bundle.

@scopatz
Copy link
Contributor

scopatz commented Jul 22, 2019

Ahh that is a very interesting idea. I am very open to supporting sdists of this kind, but would probably need some help in pushing it forward. I think there is enough info in the conda-packages to be able to construct sdists of this kind.

@marcelotrevisani marcelotrevisani added the enhancement New feature or request label Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants