Skip to content

Commit

Permalink
closes #231: require dbus-python and secretstorage on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
reece committed Jun 24, 2016
1 parent 6bab3d6 commit e6a0571
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .hgignore
@@ -1,2 +1,11 @@
syntax: glob

*.bak
*.egg-info
*.orgin
*~
.eggs
__pycache__
build
dist
ve
8 changes: 8 additions & 0 deletions setup.py
Expand Up @@ -21,6 +21,12 @@
'pytest>=2.8',
]

linux_requirements = [
# dbus-python is a declared req only by some versions of secretstorage
"dbus-python",
"secretstorage"
]

setup_params = dict(
name='keyring',
use_scm_version=True,
Expand All @@ -38,6 +44,8 @@
extras_require={
'test': test_requirements,
':sys_platform=="win32"': ['pywin32-ctypes'],
':sys_platform=="linux2"': linux_requirements, # python 2
':sys_platform=="linux"': linux_requirements, # python 3
},
setup_requires=[
'setuptools_scm>=1.9',
Expand Down

0 comments on commit e6a0571

Please sign in to comment.