Modified dependencies in python package do not show up -


in python package have, in setup.py modified dependencies removing condition on version number:

setup(     name='mytool',     version='0.1.5',     author='myname',     author_email='myname@myname.com',     packages=['mytool'],     scripts=['bin/my_tool.py'],     url='https://pypi.python.org/pypi/mytool',     license='license.txt',     description='this tool.',     long_description=open('readme.txt').read(),     install_requires=[         "scipy",         "numpy",         "prettytable"     ], ) 

i ran:

$ python setup.py sdist $ python setup.py sdist upload 

but when run pip, refers previous requirements:

$ sudo pip install  mytool requirement satisfied (use --upgrade upgrade): mytool in /usr/local/lib/python2.7/dist-packages requirement satisfied (use --upgrade upgrade): scipy>=0.7.0 in /usr/local/lib/python2.7/dist-packages (from mytool) requirement satisfied (use --upgrade upgrade): numpy in /usr/local/lib/python2.7/dist-packages (from mytool) requirement satisfied (use --upgrade upgrade): prettytable>=0.7.2 in /usr/local/lib/python2.7/dist-packages (from mytool) cleaning up... 

what did wrong?

that means have installed package mytool. if want install latest version (the uploaded version now), try:

sudo pip install -u mytool 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -