8000 Remove erroneous runtime dependence on setuptools · kubernetes-client/python@1550cce · GitHub
[go: up one dir, main page]

Skip to content

Commit 1550cce

Browse files
ofekyliaog
authored andcommitted
Remove erroneous runtime dependence on setuptools
1 parent 2e49b4d commit 1550cce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
for line in f:
3636
line, _, _ = line.partition('#')
3737
line = line.strip()
38-
if ';' in line:
38+
if not line or line.startswith('setuptools'):
39+
continue
40+
elif ';' in line:
3941
requirement, _, specifier = line.partition(';')
4042
for_specifier = EXTRAS.setdefault(':{}'.format(specifier), [])
4143
for_specifier.append(requirement)

0 commit comments

Comments
 (0)
0