-
-
Notifications
You must be signed in to change notification settings - Fork 525
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
build wheels instead of sdist #185
Comments
Original comment by @brechtm In the meantime, you can build a wheel manually and run tox with the |
Original comment by @nicoddemus Oh yeah, certainly, this should be a configuration option. |
Original comment by @The-Compiler From @hpk42's reply:
;) |
Original comment by hexadite-maxk @The-Compiler, I'm just literally reading the original post: it says "instead" which I interpret as
|
Original comment by @bittner @nicoddemus Done. See issue #297. |
Original comment by @The-Compiler @hexadite-maxk Huh? I don't see anyone talking about forcing anything. |
Original comment by hexadite-maxk Why this should be a forced type? |
Original comment by @nicoddemus Making |
Original comment by @nicoddemus @bittner could you please create a separate issue for that? |
Original comment by @bittner I'd love to see the tox configuration to live in It would allow a more elegant Python package configuration for developers: You could put configuration of all your tools into a single file. I've described some considerations in a comment on issue 13. A few projects already look into |
Original comment by @hpk42 Agreed -- i guess we need a way to specify which format should be produced and tested, probably both in the ini and from the commandline. |
If you need to test non-universal wheels, you can build and test your wheel in the same tox env:
|
@brechtm I'd rather it were built in. |
@graingert I agree. This is just a temporary solution for when you need to be able to test wheels now. |
A small improvement (I think) in @brechtm workaround to be able to use multiple python versions:
Differences:
|
Added the docs label, because even if this is never implemented it would be good to document the workaround? |
closing in favour of #232 |
For installation of test packages it would be great if wheels could be used instead.
This is difficult to work for all possible python versions but to start with, universal wheels could be supported.
In this case the universal wheel could be produced in the first step. Then tox can use the test_requires and install_requires to build the deps used in the testenv.
If you want to support multi-python versions at build time, tox could read the setup.cfg wheel config file using the wheel module and drop down to using sdist for those builds.
The text was updated successfully, but these errors were encountered: