cobrateam/splinter — comment on commit 447c717457b559a39eac50b051f329eeddd5a7ca
File:  line 0
By fsouza:

Yes, in an environment without selenium (or any other splinter dependency)

setup.py imports splinter/__init__.py to determine the package version.

__init__.py imports browser.py, which imports driver/firefox, which imports selenium and lxml. You'll not be able to install splinter without installing selenium and lxml before, but that's not what setup.py and its dependency management are aimed for.

Simply moving the version to setup.py should fix the problem, but I think that splinter.__version__ is also referenced from sphinx.