I am creating a Python package for PyPi:
# setup.py from setuptools import setup setup( name='ubuntudesign-asset-mapper', version='0.2', author='Robin', author_email=' robin.winslow@canonical.com ', url='https://github.com/ubuntudesign/asset-mapper', packages=[ 'ubuntudesign' ], description=( 'A mapping class for using the Ubuntu asset server.' ), long_description=open('README.rst').read(), install_requires=[ "requests >= 2.0" ] )
I put it on PyPi and I can install it:
$ pip install ubuntudesign-asset-mapper Downloading/unpacking ubuntudesign-asset-mapper Downloading ubuntudesign-asset-mapper-0.2.tar.gz Running setup.py (path:/home/robin/.virtualenvs/assets-server/build/ubuntudesign-asset-mapper/setup.py) egg_info for package ubuntudesign-asset-mapper Requirement already satisfied (use
But now this will not allow me to remove it:
$ pip uninstall ubuntudesign-asset-mapper Can't uninstall 'ubuntudesign-asset-mapper'. No files were found to uninstall.
I am sure because I did not write my setup.py
correctly, but I can not find a link to this problem on the Internet, so I do not know what I did wrong.
source share