Skip to content

express dependencies in setup.py #3

@slivingston

Description

@slivingston

setup.py does not describe required packages to build and install slycot.

The motivated error occurs when numpy is not present. I found the following after pip install slycot:

Building wheels for collected packages: slycot
  Running setup.py bdist_wheel for slycot ... error
  Complete output from command /home/scott/tmp/f00f/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-SRAJ87/slycot/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpAzLVXPpip-wheel- --python-tag cp27:
  Running from numpy source directory.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-SRAJ87/slycot/setup.py", line 240, in <module>
      setup_package()
    File "/tmp/pip-build-SRAJ87/slycot/setup.py", line 225, in setup_package
      from numpy.distutils.core import setup
  ImportError: No module named numpy.distutils.core

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions