Skip to content

Commit

Permalink
update: Work with >=
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Oct 11, 2024
1 parent ec04cb8 commit 9d916f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsjet/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def _get_jet_packages() -> Iterator[tuple[str, str]]:
if b'#' in line:
line_s = line.decode('utf-8').strip()

*left, pypi_package = line_s.split('# ')
package = left[0].split('=')[0]
package, _, pypi_package = line_s.partition('# ')
package = package.split('=')[0].rstrip('>')

yield (package, pypi_package)

Expand Down

0 comments on commit 9d916f2

Please sign in to comment.