Skip to content

add pyproject.toml#4

Merged
Erotemic merged 1 commit into
pyutils:masterfrom
felix-andreas:pyproject
Dec 14, 2019
Merged

add pyproject.toml#4
Erotemic merged 1 commit into
pyutils:masterfrom
felix-andreas:pyproject

Conversation

@felix-andreas

Copy link
Copy Markdown
Contributor

Hi, this seems to be the new line_profiler repo. Pip installing it from source will fail, if cython is not installed:

ModuleNotFoundError: No module named 'Cython'

This problem can be solved by marking cython as build dependency using a pyproject.toml file (PEP 518).

Also see: https://stackoverflow.com/questions/18023546/marking-cython-as-a-build-dependency

@Erotemic

Copy link
Copy Markdown
Member

This is also addressed in #3 but it might make sense to merge it as a standalone PR.

@Erotemic

Copy link
Copy Markdown
Member

I'm merging this into master, as it looks like the scikit-build transition may take a bit of time.

@Erotemic Erotemic merged commit be79b8c into pyutils:master Dec 14, 2019
Erotemic referenced this pull request in Erotemic/line_profiler Aug 10, 2025
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.

2 participants