@@ -9,46 +9,50 @@ def find_stub_files(name: str) -> List[str]:
9
9
result = []
10
10
for root , dirs , files in os .walk (name ):
11
11
for file in files :
12
- if file .endswith (' .pyi' ):
12
+ if file .endswith (" .pyi" ):
13
13
if os .path .sep in root :
14
14
sub_root = root .split (os .path .sep , 1 )[- 1 ]
15
15
file = os .path .join (sub_root , file )
16
16
result .append (file )
17
17
return result
18
18
19
19
20
- with open (' README.md' , 'r' ) as f :
20
+ with open (" README.md" , "r" ) as f :
21
21
readme = f .read ()
22
22
23
23
dependencies = [
24
- ' mypy>=0.782,<0.790' ,
25
- ' typing-extensions' ,
26
- ' django' ,
24
+ " mypy>=0.782,<0.790" ,
25
+ " typing-extensions" ,
26
+ " django" ,
27
27
]
28
28
29
29
setup (
30
30
name = "django-stubs" ,
31
- version = "1.5 .0" ,
32
- description = ' Mypy stubs for Django' ,
31
+ version = "1.6 .0" ,
32
+ description = " Mypy stubs for Django" ,
33
33
long_description = readme ,
34
- long_description_content_type = ' text/markdown' ,
35
- license = ' MIT' ,
34
+ long_description_content_type = " text/markdown" ,
35
+ license = " MIT" ,
36
36
url = "https://github.com/typeddjango/django-stubs" ,
37
37
author = "Maksim Kurnikov" ,
38
38
author_email = "maxim.kurnikov@gmail.com" ,
39
39
py_modules = [],
40
- python_requires = ' >=3.6' ,
40
+ python_requires = " >=3.6" ,
41
41
install_requires = dependencies ,
42
- packages = [' django-stubs' , * find_packages (exclude = [' scripts' ])],
43
- package_data = {' django-stubs' : find_stub_files (' django-stubs' )},
42
+ packages = [" django-stubs" , * find_packages (exclude = [" scripts" ])],
43
+ package_data = {" django-stubs" : find_stub_files (" django-stubs" )},
44
44
classifiers = [
45
- 'Development Status :: 3 - Alpha' ,
46
- 'License :: OSI Approved :: MIT License' ,
47
- 'Programming Language :: Python :: 3.6' ,
48
- 'Programming Language :: Python :: 3.7' ,
49
- 'Programming Language :: Python :: 3.8'
45
+ "Development Status :: 3 - Alpha" ,
46
+ "License :: OSI Approved :: MIT License" ,
47
+ "Programming Language :: Python :: 3.6" ,
48
+ "Programming Language :: Python :: 3.7" ,
49
+ "Programming Language :: Python :: 3.8" ,
50
+ "Framework :: Django" ,
51
+ "Framework :: Django :: 2.2" ,
52
+ "Framework :: Django :: 3.0" ,
53
+ "Typing :: Typed" ,
50
54
],
51
55
project_urls = {
52
- ' Release notes' : ' https://github.com/typeddjango/django-stubs/releases' ,
56
+ " Release notes" : " https://github.com/typeddjango/django-stubs/releases" ,
53
57
},
54
58
)
0 commit comments