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

Added: Possibility to specify extension modules. #640

Open
wants to merge 45 commits into
base: master
Choose a base branch
from

Conversation

margru
Copy link

@margru margru commented Aug 8, 2019

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 single Extension instance constructor. Multiple dictionaries mean multiple extensions to build. The extensions specifications are then rendered into the setup.py script via the template.

@esc
Copy link
Contributor

esc commented Aug 8, 2019

@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.

@arcivanov
Copy link
Member

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.
@margru
Copy link
Author

margru commented Nov 4, 2019

this makes no sense ;)

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...

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 74.267% when pulling 8dde5e6 on margru:master into 9a98c2d on pybuilder:master.

margru and others added 7 commits March 11, 2020 19:02
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
@arcivanov
Copy link
Member

Could you please rebase on current?

@arcivanov
Copy link
Member

@margru ?

@margru
Copy link
Author

margru commented Aug 8, 2022

@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...

chylek and others added 23 commits August 26, 2022 09:27
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No way to add extension modules
5 participants