-
Notifications
You must be signed in to change notification settings - Fork 40
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
Failed to build wheel on macOS #27
Comments
@amol- I can make Travis CI build OS X wheels as well. Shall I? |
Also, the manifest issue could be avoided if dist relied on setuptools' VCS integrations (effectively including all files tracked by Git). |
Does that allow you to exclude package cruft (eg, |
It does, but @amol- didn't support idea of having Although, I'm not sure why I'd want to exclude (python) tests. |
Mainly just that they're unnecessary? They're included with the distribution, but not installed. It doesn't matter to me too much - was just curious. |
That's questionable. Normally when you ship some distribution you want to provide ppl with a way to run tests. Even better: lots of package managers have built-in feature of running tests before installing things. |
I'm not arguing whether or not the practice is good. My point was that even if you include the tests in the distribution, the files are not installed, and as a result, are not importable/runnable. You would need to manually unpack the sdist/wheel to grab the test files and then recreate the test environment. |
Version 0.2.1 ( https://github.com/amol-/dukpy/releases/tag/0.2.1 ) is releasing with a fix that allows building wheels from source distribution. |
Just a minor issue. When installing on macOS, the wheel fails to build. This is due to the missing LICENSE file listed in the
setup.cfg
metadata. Most likely you just need to add the file to theMANIFEST.in
.That said, the package does install correctly as a traditional sdist. I don't fully understand the install process here, but it looks like installation attempts to build the wheel first, which fails then falls back to installing the sdist.
The text was updated successfully, but these errors were encountered: