From c29e85957868dcdcad902ea9ce8bef70aae66e84 Mon Sep 17 00:00:00 2001 From: Stefan <96178532+stefan6419846@users.noreply.github.com> Date: Sun, 24 Mar 2024 16:56:38 +0100 Subject: [PATCH] remove outdated stuff --- setup.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/setup.py b/setup.py index be4f9e7..06ec09c 100755 --- a/setup.py +++ b/setup.py @@ -1,16 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -try: - from setuptools import setup -except ImportError: - from distutils.core import setup - - -def parse_requirements(filename): - """ load requirements from a pip requirements file """ - lineiter = (line.strip() for line in open(filename)) - return [line for line in lineiter if line and not line.startswith("#")] +from setuptools import setup with open('README.rst') as readme_file: @@ -19,9 +10,6 @@ def parse_requirements(filename): with open('HISTORY.rst') as history_file: history = history_file.read() -# requirements = parse_requirements('requirements.txt') -# test_requirements = parse_requirements('requirements_dev.txt') - setup( name='swagger_parser', version='1.0.2.post1',