Skip to content

Commit

Permalink
Remove erroneous runtime dependence on setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek authored and yliaog committed Jun 18, 2023
1 parent 2e49b4d commit 1550cce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
for line in f:
line, _, _ = line.partition('#')
line = line.strip()
if ';' in line:
if not line or line.startswith('setuptools'):
continue
elif ';' in line:
requirement, _, specifier = line.partition(';')
for_specifier = EXTRAS.setdefault(':{}'.format(specifier), [])
for_specifier.append(requirement)
Expand Down

0 comments on commit 1550cce

Please sign in to comment.