File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
import os .path
2
- from typing import Dict , Final , List , Type
2
+ from typing import Final
3
3
4
4
import setuptools
5
5
10
10
REQUIREMENT_DIR : Final = "requirements"
11
11
ENCODING : Final = "utf8"
12
12
13
- pkg_info : Dict [str , str ] = {}
13
+ pkg_info : dict [str , str ] = {}
14
14
15
15
16
- def get_release_command_class () -> Dict [str , Type [setuptools .Command ]]:
16
+ def get_release_command_class () -> dict [str , type [setuptools .Command ]]:
17
17
try :
18
18
from releasecmd import ReleaseCommand
19
19
except ImportError :
@@ -29,10 +29,10 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
29
29
LONG_DESCRIPTION : Final = f .read ()
30
30
31
31
with open (os .path .join (REQUIREMENT_DIR , "requirements.txt" )) as f :
32
- INSTALL_REQUIRES : Final [List [str ]] = [line .strip () for line in f if line .strip ()]
32
+ INSTALL_REQUIRES : Final [list [str ]] = [line .strip () for line in f if line .strip ()]
33
33
34
34
with open (os .path .join (REQUIREMENT_DIR , "test_requirements.txt" )) as f :
35
- TESTS_REQUIRES : Final [List [str ]] = [line .strip () for line in f if line .strip ()]
35
+ TESTS_REQUIRES : Final [list [str ]] = [line .strip () for line in f if line .strip ()]
36
36
37
37
setuptools .setup (
38
38
name = MODULE_NAME ,
You can’t perform that action at this time.
0 commit comments