Commit 65995034 authored by Xavier Thompson's avatar Xavier Thompson

setup.py: Add selectors34 dependency for SlapPopen

parent 50507d2b
...@@ -80,6 +80,7 @@ setup(name=name, ...@@ -80,6 +80,7 @@ setup(name=name,
'distro', 'distro',
'subprocess32; python_version<"3"', 'subprocess32; python_version<"3"',
'enum34; python_version<"3"', 'enum34; python_version<"3"',
'selectors34; python_version<"3"', # used by SlapPopen (grid/utils)
'ipaddress; python_version<"3"', # used by whitelistfirewall 'ipaddress; python_version<"3"', # used by whitelistfirewall
] + additional_install_requires, ] + additional_install_requires,
extras_require=extras_require, extras_require=extras_require,
......
...@@ -33,7 +33,6 @@ import hashlib ...@@ -33,7 +33,6 @@ import hashlib
import os import os
import pkg_resources import pkg_resources
import pwd import pwd
import selectors
import stat import stat
import sys import sys
import logging import logging
...@@ -41,8 +40,10 @@ import psutil ...@@ -41,8 +40,10 @@ import psutil
import time import time
if sys.version_info >= (3,): if sys.version_info >= (3,):
import selectors
import subprocess import subprocess
else: else:
import selectors34 as selectors
import subprocess32 as subprocess import subprocess32 as subprocess
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment