On Thu, Aug 29, 2019 at 11:24:30AM +0200, Philippe Mathieu-Daudé wrote:
> Is there a way to check for this before submitting/merging patches?
> 
> Some checkpatch.py lines that report:
> 
>   The 'paramiko' module is not pure Python and can
>   not be added in requirements.txt.
>

I dont think there is... at least, I can't think of one.  None of the
PyPI classifiers[1] seems to cover the "pure Python .vs. compiled
code" installation requirements.  AFAIK, this is usually buried in the
setup.py code of each package, so it's not easy to inspect it.

But, we can define "only Pure Python modules" as a policy, document it
and hopefully flag it on code review.

[1] https://pypi.org/classifiers/

- Cleber.

Reply via email to