diff options
author | Lumir Balhar <lbalhar@redhat.com> | 2017-11-06 11:53:09 +0100 |
---|---|---|
committer | Jiri Kastner <jkastner@redhat.com> | 2017-11-20 13:59:01 +0100 |
commit | 549b35f0c8206a7679a07da2275a64a995ad3325 (patch) | |
tree | e80948e871a005a749d6cf00af2a3bd14dd8a7e5 | |
parent | 4928495c6e7f1608c23e39acfb46686e3ed4bdb1 (diff) | |
download | python-linux-procfs-549b35f0c8206a7679a07da2275a64a995ad3325.tar.gz |
python3: Use `setuptools.setup()` instead of distutils
We need to specify new dependency on `six` module with
`install_requires` which is supported via setuptools.
Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
-rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/python from distutils.sysconfig import get_python_lib -from distutils.core import setup +from setuptools import setup from os.path import isfile, join import glob import os @@ -23,4 +23,5 @@ setup(name="python-linux-procfs", Abstractions to extract information from the Linux kernel /proc files. """, packages = ["procfs"], + install_requires = ['six'], ) |