diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2018-09-21 09:09:19 -0300 |
---|---|---|
committer | Guilherme Alcarde Gallo <gagallo7@gmail.com> | 2018-10-03 19:20:14 -0300 |
commit | bd8513980b6626551069300fa9e0d1dc59712272 (patch) | |
tree | 5ef2715cd4efe049ddaa358603a138420496d3de | |
parent | 1fa0c6716e44d164ed8d1a37b14e2cd3ae0502df (diff) | |
download | virtme-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-x | setup.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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') |