Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412231 - dev-python/argparse - ?
Summary: dev-python/argparse - ?
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 16:30 UTC by tom
Modified: 2012-04-18 16:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tom 2012-04-16 16:30:01 UTC
* Building of dev-python/argparse-1.2.1 with CPython 2.7...
python2.7 setup.py build -b build-2.7
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-16 18:32:54 UTC
dev-python/argparse already properly DEPENDs on dev-python/setuptools, so you probably need to run python-updater.

If that does not fix the issue:
1) Attach the entire failing build log to this bug report.
2) Post your `emerge --info' output in a comment.
Comment 2 Sebastian Pipping gentoo-dev 2012-04-18 14:50:01 UTC
Can you share the output of

  # emerge --info | fgrep USE_PYTHON

and

  # eselect python show 2

with us?  For comparison, I get this over here:

  # emerge --info | fgrep USE_PYTHON
  USE_PYTHON="2.6 2.7 3.1 3.2"

  # eselect python show --python2
  python2.6

Before running python-updater, make sure that USE_PYTHON in /etc/make.conf does what you want.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-18 15:42:35 UTC
Er, oh. Well, go ahead, then.
Comment 4 tom 2012-04-18 16:08:01 UTC
(In reply to comment #2)
> Can you share the output of
> 
>   # emerge --info | fgrep USE_PYTHON
> 
> and
> 
>   # eselect python show 2
> 
> with us?  For comparison, I get this over here:
> 
>   # emerge --info | fgrep USE_PYTHON
>   USE_PYTHON="2.6 2.7 3.1 3.2"
> 
# emerge --info | fgrep USE_PYTHON
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


>   # eselect python show --python2
>   python2.6
> 
# eselect python show --python2
python2.7
Comment 5 Mike Gilbert gentoo-dev 2012-04-18 16:34:59 UTC
python-updater will use the active version of python by default. In this case, python2.7.

It is not necessary to set USE_PYTHON if unless you want to utilize multiple versions of python at once.

So yes, please just run python-updater. If that does not work, reopen this.