-
Notifications
You must be signed in to change notification settings - Fork 156
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
Added 'bdist_ext' cmdclass implementation #171
Added 'bdist_ext' cmdclass implementation #171
Conversation
…e extensions. Added integration tests for module with extension for setuptools and pip.
The |
5d8e0ad
to
5af404e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Current master branch accepts a dictionary for the get_cmdclass call, perhaps update th PR for that too?
Hi @s0undt3ch - not sure I understand what you mean. There have been no changes to Can you please clarify what changes are needed? |
Oh right, sure, thank you. |
Changes requested have been made - ready for review. |
Hi @pkittenis. We're working on reviving this project. Can you rebase/merge |
2aa0432
to
400739f
Compare
|
Merged and cleaned up changes. |
Thanks for doing this. Out of curiosity, can the |
It can, but it would require |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this looks reasonable to me. We've got some future-proofing to worry about with wheel
, and I've made suggestions. They require you also to add packaging
to the testenv
:
Lines 10 to 20 in 64a606d
[testenv] | |
# virtualenv>=14.0.0 is incompatible with python 3.2 | |
# flake8>=3.0.0 and pyflakes>=2.0.0 are incompatible with 2.6,3.2,3.3 | |
deps = | |
pyflakes | |
flake8 | |
flake8-docstrings | |
wheel | |
setuptools | |
virtualenv<20 | |
pep8 |
Fair enough. A couple KB shouldn't make a huge difference. If we're going to need to re-render it periodically, it might be worth figuring out how to get a Cython dependency into the virtualenvs. |
@pkittenis Sorry to bug you, but could you check out my suggestions? If you don't have time, I can create a PR based on this. |
Thanks, yes, will take a look. |
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Re: cython - I'd like to hand write a simple extension function so this can be tested without needing cython. The use of cython was more to make it compatible with future Python versions, but a simple enough native extension should remain compatible with future C-API versions. |
Pushed a fix to the testing environment. I'm going to go ahead and merge. Thanks for this! |
For modules with native code extensions, versioneer needs a
build_ext
command class implementation to support wheels and other binary distributions.Added integration tests for module with extension for setuptools and pip.
Resolves #170