depends on argparse, but not in requirements

Issue #27 resolved
Daniel Davis created an issue

I was trying this as non-root on CentOS 6. My admins installed easy_install for me, and I tried the following:

 # become application account
 sudo su - <application_owner>

 # setup for easy_install --prefix
 mkdir -p python/bin
 mkdir -p python/lib/python2.6/site-packages
 export PYTHON_PATH=$HOME/python/lib/python2.6/site-packages
 export PATH=$PATH:$HOME/python/bin

 # install pip and pyp2rpm
 easy_install --prefix=$HOME/python pip
 easy_install --prefix=$HOME/python pyp2rpm

The last command failed, but worked after I first installed argparse. I would never have ran into this without starting from scratch like this!

Comments (2)

  1. Robert Kuska

    Nice catch, looks like everyone has argparse in their py26 enviroment installed and therefore it was so long unnoticed.

    Anyway, I've migrated from argparse to click so it is not longer needed (this version is not yet released) but again also click is missing from requires, I will fix that.

  2. Log in to comment