mitsuhiko / pipsi

pip script installer
Other
2k stars 133 forks source link

"Did not find any scripts. Uninstalling." (only with --editable), take 3 #154

Open dagostinelli opened 6 years ago

dagostinelli commented 6 years ago

I'm having a similar problem to #40 and #149. Here's a specific situation where it fails:

setup.py

from setuptools import setup, find_packages

setup_options = dict(
    <snip>
    entry_points = {
        'console_scripts': [
            'myapp = mypackage.cli:main',
        ]
    }
)

setup(**setup_options)

Then

python3 setup.py sdist
python3 setup.py bdist
python3 setup.py bdist_wheel

Produces

/dist/mypackage-1.0.0.linux-x86_64.tar.gz
/dist/mypackage-1.0.0.tar.gz
/dist/mypackage-1.0.0-py3-none-any.whl

Works pipsi install .

Works pip install .

Works pip install mypackage-1.0.0-py3-none-any.whl

Fails pipsi install mypackage-1.0.0-py3-none-any.whl

The error is Did not find any scripts. Uninstalling.

pipsi hates the wheel file.

tkossak commented 6 years ago

I have the same problem. I'm using console_scripts with my setup.py, pip installs the wheel and all entry points properly, but pipsi just doesn't see them. Any solution to this?