Skip to content

Commit 7453a4b

Browse files
committed
Add dependencies to setup.py
1 parent 91ab536 commit 7453a4b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/python
22

3-
from distutils.core import setup
3+
try:
4+
from setuptools import setup
5+
except ImportError:
6+
from distutils.core import setup
47

58
setup(name = "python-networkmanager",
69
version = "1.2.1",
@@ -9,6 +12,7 @@
912
url = "http://github.com/seveas/python-networkmanager",
1013
description = "Easy communication with NetworkManager",
1114
py_modules = ["NetworkManager"],
15+
install_requires = ["dbus-python", "six"],
1216
classifiers = [
1317
'Development Status :: 5 - Production/Stable',
1418
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)