From 6fa12a5b0592b648d88b9f31f6fd775d62cc5c57 Mon Sep 17 00:00:00 2001 From: Kiy4h Date: Thu, 8 Nov 2018 15:24:42 +0700 Subject: [PATCH] setup.py: Change distutils to setuptools Closes #120 --- .travis.yml | 1 + setup.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e8b5a77..2d42bd1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ python: - "nightly" install: + - pip3 install pycparser - python setup.py --quiet install script: diff --git a/setup.py b/setup.py index 5f1c162..413386b 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from __future__ import absolute_import import ast -from distutils import core +from setuptools import setup import os @@ -18,7 +18,7 @@ def version(filename): with open('README.rst') as readme: - core.setup( + setup( name='cppclean', version=version(os.path.join('cpp', '__init__.py')), description='Find problems in C++ source that slow development '