Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm getting a strange output when trying to install setup.py for a project. Any clue as to what I'm doing wrong?

$ sudo python setup.py  

install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/NAME
copying NAME/__init__.py -> build/lib/NAME
running install_lib 
creating /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site packages/NAME
copying build/lib/NAME/__init__.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/NAME
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/NAME/__init__.py to __init__.pyc
running install_egg_info
Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/projectname-0.1-py2.7.egg-info
share|improve this question
    
What application is it? Which OS? Is the app compatible with your OS? –  Bibhas Feb 14 '12 at 6:41
    
I'm on a mac; trying to install setup.py from the learnpythonthehardway tutorial Ex #46. The text of setup.py is here: codepad.org/RKr1KFUM –  Zach Feb 14 '12 at 6:51
    
Do you have python-setuptools installed? –  Bibhas Feb 14 '12 at 6:58
    
@Bibhas how do I find that out? –  Zach Feb 14 '12 at 18:31
    
Try running the command easy_install, if setuptools is installed, the command would work. If not installed, try installing it. –  Bibhas Feb 14 '12 at 20:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.