Skip to content
This repository was archived by the owner on Apr 27, 2019. It is now read-only.
This repository was archived by the owner on Apr 27, 2019. It is now read-only.

bbfreeze not working with setuptools packages #29

@graingert

Description

@graingert

I have a python setup.py

# setup.py
from setuptools import setup, find_packages


setup(
    name='print-workflow',
    version='0.1.0',
    author='Hogarth Worldwide',
    author_email='umbrella@hogarthww.com',
    packages=find_packages('src', exclude=('tests',)),
    package_dir={'': 'src'},
    include_package_data=True,
    install_requires=[
        'celery',
        'jinja2',
        'setuptools',
    ],
    license='PROPRIETARY',
    entry_points={
       'console_scripts': [
           'print_workflow = print_workflow:main',
       ]
    },  
)

and run:

python setup.py bdist_bbfreeze

then I get:

$ ./print-workflow-0.1.0/print_workflow
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__print_workflow__.py", line 9, in <module>
  File "pkg_resources.py", line 356, in load_entry_point
  File "pkg_resources.py", line 2438, in load_entry_point
ImportError: Entry point ('console_scripts', 'print_workflow') not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions