From a91b011e36c6e88638fcb8d2bd31e0423a7b80d9 Mon Sep 17 00:00:00 2001 From: Bradley Jones Date: Wed, 3 Oct 2018 11:37:27 +0100 Subject: [PATCH] Make setuptools a requirement for building See Issue #186 --- requirements.txt | 1 + setup.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8a8af629..ca6a15d8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ +setuptools pyparsing six diff --git a/setup.py b/setup.py index 3e85a0c1..f85522d9 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +from setuptools import setup -try: - from setuptools import setup -except ImportError: - from distutils.core import setup with open('requirements.txt') as rf: requirements = rf.readlines()