cobrateam/splinter — comment on commit 447c717457b559a39eac50b051f329eeddd5a7ca
File: splinter/__init__.py line 2
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.\_\_version\_\_