[Python-Dev] cpython: Issue #19544 and Issue #6516: Restore support for --user and --group parameters

Christian Heimes christian at python.org
Fri Nov 15 23:05:55 CET 2013

Am 15.11.2013 19:07, schrieb jason.coombs:
> http://hg.python.org/cpython/rev/b9c9c4b2effe
> changeset:   87119:b9c9c4b2effe
> user:        Andrew Kuchling <amk at amk.ca>
> date:        Fri Nov 15 13:01:52 2013 -0500
> summary:
>   Issue #19544 and Issue #6516: Restore support for --user and --group parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part of the distutils2 rollback. Closes Issue #6516.

Your commit has broken the build:

./python -E -S -m sysconfig --generate-posix-vars
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
  File "./setup.py", line 11, in <module>
    from distutils.core import Extension, setup
  File "/home/heimes/dev/python/cpython/Lib/distutils/core.py", line 18,
in <module>
    from distutils.cmd import Command
  File "/home/heimes/dev/python/cpython/Lib/distutils/cmd.py", line 9,
in <module>
    from distutils import util, dir_util, file_util, archive_util, dep_util
  File "/home/heimes/dev/python/cpython/Lib/distutils/archive_util.py",
line 27, in <module>
    from grp import getgrnam
ImportError: No module named 'grp'

The grp module is built later by setup.py.

More information about the Python-Dev mailing list