From 07b1454c9945d0dc5164b98f774be1e951b83b62 Mon Sep 17 00:00:00 2001 From: Jonathan Wright <8390543+jonathanspw@users.noreply.github.com> Date: Sat, 26 Nov 2022 10:51:46 -0600 Subject: [PATCH] Fix automatic deps, and setup.py fail without six --- python/setup.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/python/setup.py b/python/setup.py index ed91128..3143266 100755 --- a/python/setup.py +++ b/python/setup.py @@ -8,10 +8,8 @@ from setuptools import setup, find_packages -from pydiffx import get_package_version - - PACKAGE_NAME = 'pydiffx' +version = '1.1' # NOTE: When updating, make sure you update the classifiers below. SUPPORTED_PYVERS = ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] @@ -36,7 +34,7 @@ setup(name=PACKAGE_NAME, - version=get_package_version(), + version=version, license='MIT', description='Python module for reading and writing DiffX files.', long_description=long_description, @@ -48,7 +46,14 @@ maintainer_email='christian@beanbaginc.com', install_requires=[ 'six', + 'pygments', ], + extras_require={ + 'test': [ + 'pytest', + 'kgb ~= 7.1.1' + ] + }, entry_points={ 'pygments.lexers': [ 'diffx = pydiffx.integrations.pygments_lexer:DiffXLexer',