Skip to content

Add dependencies to setup.py #268

Description

@lexngu

When installing python-matlab-bridge via pip install (or even as part of a requirements file), the installation process fails due to missing packages pyzmq and numpy.

I'd like to propose to add following line to setup.py:

# ...
opts = dict(name=NAME,
            maintainer=MAINTAINER,
            maintainer_email=MAINTAINER_EMAIL,
            description=DESCRIPTION,
            long_description=LONG_DESCRIPTION,
            url=URL,
            download_url=DOWNLOAD_URL,
            license=LICENSE,
            classifiers=CLASSIFIERS,
            author=AUTHOR,
            author_email=AUTHOR_EMAIL,
            platforms=PLATFORMS,
            version=VERSION,
            packages=PACKAGES,
            package_data=PACKAGE_DATA,
            requires=REQUIRES,
            extras_require=EXTRAS_REQUIRE,
            scripts=BIN,
            install_requires=['numpy', 'pyzmq'], # <--- new line
            )
# ...

Is this possible?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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