This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 157184 - Build Egg results in error
Summary: Build Egg results in error
Status: VERIFIED INVALID
Alias: None
Product: python
Classification: Unclassified
Component: Build (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: amitksaha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 07:58 UTC by Peter Lam
Modified: 2009-02-19 22:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2009-01-21 07:58:46 UTC
Product Version: NetBeans IDE Dev (Build 20090120172641)
Java: 1.6.0_11; Java HotSpot(TM) Server VM 11.0-b16
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Userdir: C:\Users\peter\.netbeans\dev20090120-b684

When I right click on any python project and select Build Egg, I got the following error in the output window.

Traceback (most recent call last):
  File "C:\Users\peter\Documents\NetBeansProjects\PyThreads-ABC\src\setup.py", line 4, in <module>
    from setuptools import setup,find_packages
ImportError: No module named setuptools
Comment 1 Peter Lam 2009-01-21 08:00:27 UTC
'Clean and Build Egg' menu option also gives the same error.
Comment 2 amitksaha 2009-01-21 08:05:03 UTC
There are 2 possible scenarios:

1. Your platform is Jython: In this case, this won't work. (I have been thinking of "disabling" the actions when the
platform is Jython)

2. Your platform is Python, but you do not have 'setuptools' installed.
Comment 3 Peter Lam 2009-01-21 08:29:24 UTC
It's #1. I was using my default jython platform. I changed my platform to python 2.5 where I installed my setuptools and
it works great. User error, sorry.
Comment 4 Peter Lam 2009-01-21 08:29:51 UTC
verified