Skip to content

Commit 1d19161

Browse files
author
Tony Crisci
committed
Make dependency imports consistent
Reverts a2eff09 which caused problems with python2 install.
1 parent 0db7a0f commit 1d19161

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

setup.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
from setuptools import setup
22
from os import path
3-
import sys
43

54
readme_path = path.join(path.abspath(path.dirname(__file__)), 'README.rst')
65
long_description = open(readme_path).read()
76

8-
install_requires = []
9-
if sys.version_info >= (3,):
10-
install_requires.append('python3-xlib')
11-
else:
12-
install_requires.append('python-xlib')
13-
if sys.version_info <= (3, 3):
14-
install_requires.append('enum34')
7+
install_requires = ['python3-xlib', 'enum34']
158

169
setup(
1710
name='i3ipc',

0 commit comments

Comments
 (0)