[pypy-dev] dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules'

David Callahan dcallahan at fb.com
Fri Oct 6 10:24:11 EDT 2017

Thanks Alex,

We are using setuptools 34.2.0, we don’t use pip. In our environment, each package it built from source and installed into a separate directory and a long PYTHONPATH constructed. This works fine for CPython  but apparently has some snag with PyPy.

From: Alex Gaynor <alex.gaynor at gmail.com>
Date: Friday, October 6, 2017 at 5:32 AM
To: David Callahan <dcallahan at fb.com>
Cc: PyPy Dev <pypy-dev at python.org>
Subject: Re: [pypy-dev] dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules'

Hi David,

We test cryptography against PyPy in our CI, and I install it semi-regularly, so I'd expect it to work :-)

Are you able to reproduce this reliably? If yes, can you include full instructions?

If not: what versions of pip and setuptools do you have?


On Thu, Oct 5, 2017 at 8:30 PM, David Callahan <dcallahan at fb.com<mailto:dcallahan at fb.com>> wrote:
Has anyone experience building the package cryptography-1.9 using PyPy and setup.py?

In the build phase I encounter this diagnostic

…/python/pypy.5.8/…/lib-python/3/distutils/dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules'

but the stage seems to complete without error.  Is this expected or suspicious?

Thanks david

pypy-dev mailing list
pypy-dev at python.org<mailto:pypy-dev at python.org>

"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20171006/be53f73a/attachment-0001.html>

More information about the pypy-dev mailing list