File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
tqdm
5
5
more-itertools
6
6
tiktoken
7
+ triton >= 2.0.0 ,< 3 ;platform_machine == "x86_64" and sys_platform=="linux" or sys_platform=="linux2"
Original file line number Diff line number Diff line change 1
- import os
2
1
import platform
3
2
import sys
3
+ from pathlib import Path
4
4
5
5
import pkg_resources
6
6
from setuptools import find_packages , setup
@@ -28,11 +28,10 @@ def read_version(fname="whisper/version.py"):
28
28
url = "https://github.com/openai/whisper" ,
29
29
license = "MIT" ,
30
30
packages = find_packages (exclude = ["tests*" ]),
31
- install_requires = requirements
32
- + [
31
+ install_requires = [
33
32
str (r )
34
33
for r in pkg_resources .parse_requirements (
35
- open ( os . path . join ( os . path . dirname ( __file__ ), "requirements.txt" ))
34
+ Path ( __file__ ). with_name ( "requirements.txt" ). open ( )
36
35
)
37
36
],
38
37
entry_points = {
You can’t perform that action at this time.
0 commit comments