jim-easterbrook / python-gphoto2

Python interface to libgphoto2
GNU Lesser General Public License v3.0
359 stars 59 forks source link

Add requirements.txt for examples scripts #94

Closed roipoussiere closed 4 years ago

roipoussiere commented 4 years ago

In this way new users can avoid all those annoying No modules named xxx errors in one command line.

jim-easterbrook commented 4 years ago

I don't think this is a good idea. PyQt is best installed with the operating system's package manager as Qt is used for operating system components on some systems and it would not be a good idea to have two different versions installed. (Your requirements.txt is far too prescriptive about which versions are needed.)

The example scripts are not intended to be a set of programs for a naive user to run, they're to show how you can use python-gphoto2. It's not too difficult for a user to install one or two dependencies before running a particular script that they are interested in. The dependencies are listed, in PEP8 order, at the start of each example script.

Python-gphoto2 is intended for developers who are already familiar with installing dependencies.