Skip to content

Commit 640b426

Browse files
Adds 'future' dependency and information to install it.
1 parent e9107e0 commit 640b426

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

setup.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
from past.builtins import execfile
21
#!/usr/bin/env python
2+
try:
3+
from past.builtins import execfile
4+
except ImportError as e:
5+
print("Please install 'future' first, i.e. 'pip install future'.\n{0}".format(e))
36

47
import sys
58
from os.path import join, dirname
@@ -34,11 +37,12 @@
3437
"Topic :: Software Development :: Testing"
3538
],
3639
install_requires = [
37-
'decorator >= 3.3.2',
38-
'selenium >= 2.32.0',
39-
'robotframework >= 2.6.0',
40-
'docutils >= 0.8.1'
41-
],
40+
'decorator >= 3.3.2',
41+
'selenium >= 2.32.0',
42+
'robotframework >= 2.6.0',
43+
'docutils >= 0.8.1',
44+
'future >= 0.15.2'
45+
],
4246
py_modules=['ez_setup'],
4347
package_dir = {'' : 'src'},
4448
packages = ['Selenium2Library','Selenium2Library.keywords','Selenium2Library.locators',

0 commit comments

Comments
 (0)