Skip to content

Commit

Permalink
remove typing_extensions requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfx committed Apr 19, 2024
1 parent 7745250 commit b692975
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
typing-extensions

# testing
pytest
pylint
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,4 @@
],

keywords='vfx visual effects file sequence frames image',

install_requires=['typing-extensions'],
)
5 changes: 2 additions & 3 deletions src/fileseq/filesequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import sys
import typing
from glob import iglob
from typing_extensions import Self

from . import constants, utils
from .constants import (
Expand Down Expand Up @@ -148,7 +147,7 @@ def __init__(self,
for frame in self._frameSet
])

def copy(self) -> Self:
def copy(self) -> FileSequence:
"""
Create a deep copy of this sequence
Expand Down Expand Up @@ -210,7 +209,7 @@ def _format(self, template):
inverted=inverted,
dirname=self.dirname())

def split(self) -> list[Self]:
def split(self) -> list[FileSequence]:
"""
Split the :class:`FileSequence` into contiguous pieces and return them
as a list of :class:`FileSequence` instances.
Expand Down

0 comments on commit b692975

Please sign in to comment.