"python setup.py install" does not create entry points

I need help regarding setuptools

. Mine setup.py

looks like this:

setup(
    ...
    packages=find_packages(),
    include_package_data=True,
    entry_points={
        'console_scripts': [
            'vsam = vsam.cmdline:execute',
        ]
    },
    ...
)

      

If I run python setup.py develop

, the specified console script is created correctly. Running python setup.py sdist

and installing the source distribution using pip install

also creates an entry point.

But the launch python setup.py install

doesn't create the console script.

Can anyone tell me why? If anyone needs more information, don't hesitate to ask.

+3


source to share


1 answer


Ok, I found out what was stopping me from setuptools

creating entry points. My file MANIFEST.in

contained the line:

prune vsam.egg-info

      



After uninstalling everything works fine.

+2


source







All Articles