aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2018-09-21 09:09:19 -0300
committerGuilherme Alcarde Gallo <gagallo7@gmail.com>2018-10-03 19:20:14 -0300
commitbd8513980b6626551069300fa9e0d1dc59712272 (patch)
tree5ef2715cd4efe049ddaa358603a138420496d3de
parent1fa0c6716e44d164ed8d1a37b14e2cd3ae0502df (diff)
downloadvirtme-bd8513980b6626551069300fa9e0d1dc59712272.tar.gz
Require setuptools only for setup
The distutils.setup doesn't preserve package data file permission, which makes it problematic when installing virtme-guest scripts. Get rid of it, and instead require setuptools.
-rwxr-xr-xsetup.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 475a9b0..1f949af 100755
--- a/setup.py
+++ b/setup.py
@@ -2,11 +2,7 @@
import os
import sys
-
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
+from setuptools import setup
if sys.version_info < (3,3):
print('virtme requires Python 3.3 or higher')