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: Possibility to specify extension modules. #640
base: master
Are you sure you want to change the base?
Conversation
@margru thank you for you pull-request, we do appreciate it. Unfortunately, we don't have any resources at the moment to service it so please be patient. |
Adapted: Some integration tests to pass with extension modules parameter.
Thanks for the PR! I'm working on a major fix for the PyB with environment isolation and will look at this ASAP afterwards. |
Python sources of cythonized modules can be removed from distribution.
What doesn't make sense? Can you please be more specific? Edit: Sorry, I didn't notice that you are commenting just a specific line in the code. See my comment there... |
Before this, the options provided in the requirements.txt file appear in the install_requires field which then causes errors (e.g. when using cython extensions).
Change default value when ext_modules are empty and update to upstream v0.13.5 and
Could you please rebase on current? |
@margru ? |
@arcivanov Yeah, I will try but I don't have that much time right now to solve the conflicts. I didn't realize that the push will also update the PR... |
Merge upstream to our patched code
Add Cython as a build dependency to setup.py
Add support for cython's compiler_directives
It contains necessary build requirements (currently only Cython if cythonization is required).
(cherry picked from commit 0cc08a8)
It contains necessary build requirements (currently only Cython if cythonization is required). (cherry picked from commit 9565af3)
# Conflicts: # src/main/python/pybuilder/plugins/python/distutils_plugin.py
This is an improvement to fix #639. The extensions might be defined in project's
distutils_ext_modules
property as a list of dictionaries where each dictionary represents keyword arguments with values for a singleExtension
instance constructor. Multiple dictionaries mean multiple extensions to build. The extensions specifications are then rendered into the setup.py script via the template.