Skip to content

Commit

Permalink
add dbus-python to install_requires on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tshirtman committed May 19, 2018
1 parent a9f0522 commit 31e1cb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python

from os.path import dirname, join
from sys import platform
import plyer

try:
Expand All @@ -27,6 +28,10 @@
with open(join(curdir, "CHANGELOG.md")) as fd:
changelog = fd.read()

install_requires = []
if platform in ('linux', 'linux2'):
install_requires += ['dbus-python']

setup(
name='plyer',
version=plyer.__version__,
Expand Down Expand Up @@ -54,4 +59,5 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
install_requires=install_requires
)

0 comments on commit 31e1cb7

Please sign in to comment.