Initial package import
This commit is contained in:
parent
705e6d3575
commit
9ded68b785
7 changed files with 361 additions and 3 deletions
23
python-vcstool-0.1.39-argparse.patch
Normal file
23
python-vcstool-0.1.39-argparse.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
From f00daaef3e49bfcdc4a00603d0ed0ca2a21be277 Mon Sep 17 00:00:00 2001
|
||||
From: Scott K Logan <logans@cottsay.net>
|
||||
Date: Wed, 20 Feb 2019 11:15:51 -0800
|
||||
Subject: [PATCH] Fix argparse requirement for Python 2.7 (#85)
|
||||
|
||||
argparse is part of the standard library since Python 2.7
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 980cf66..b47ab9b 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -7,7 +7,7 @@
|
||||
from vcstool import __version__
|
||||
|
||||
install_requires = ['PyYAML', 'setuptools']
|
||||
-if sys.version_info[0] == 2:
|
||||
+if sys.version_info[0] == 2 and sys.version_info[1] < 7:
|
||||
install_requires.append('argparse')
|
||||
|
||||
setup(
|
||||
Loading…
Add table
Add a link
Reference in a new issue