user248237
user248237

Reputation:

example of python distutils package code that depends on other modules?

can someone point out a simple example of making a Python package using distutils that depends on other python modules being installed, e.g. numpy (a particular version) and scipy? I found very simple examples online but could not find an example that depends on a known package. I want to find the easiest system where such dependencies are installed for the user when the user installs the package I am defining using setup.py install. thanks.

Upvotes: 0

Views: 640

Answers (1)

Ned Deily
Ned Deily

Reputation: 85055

Distutils by itself does not install dependencies. You need to use an add-on to Distutils, like pip or plain Distribute/setuptools.

Upvotes: 2

Related Questions