Skip to content

Commit 645ee97

Browse files
committed
Release 1.6.0
1 parent 5bc3759 commit 645ee97

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

setup.py

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,46 +9,50 @@ def find_stub_files(name: str) -> List[str]:
99
result = []
1010
for root, dirs, files in os.walk(name):
1111
for file in files:
12-
if file.endswith('.pyi'):
12+
if file.endswith(".pyi"):
1313
if os.path.sep in root:
1414
sub_root = root.split(os.path.sep, 1)[-1]
1515
file = os.path.join(sub_root, file)
1616
result.append(file)
1717
return result
1818

1919

20-
with open('README.md', 'r') as f:
20+
with open("README.md", "r") as f:
2121
readme = f.read()
2222

2323
dependencies = [
24-
'mypy>=0.782,<0.790',
25-
'typing-extensions',
26-
'django',
24+
"mypy>=0.782,<0.790",
25+
"typing-extensions",
26+
"django",
2727
]
2828

2929
setup(
3030
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",
3333
long_description=readme,
34-
long_description_content_type='text/markdown',
35-
license='MIT',
34+
long_description_content_type="text/markdown",
35+
license="MIT",
3636
url="https://github.com/typeddjango/django-stubs",
3737
author="Maksim Kurnikov",
3838
author_email="maxim.kurnikov@gmail.com",
3939
py_modules=[],
40-
python_requires='>=3.6',
40+
python_requires=">=3.6",
4141
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")},
4444
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",
5054
],
5155
project_urls={
52-
'Release notes': 'https://github.com/typeddjango/django-stubs/releases',
56+
"Release notes": "https://github.com/typeddjango/django-stubs/releases",
5357
},
5458
)

0 commit comments

Comments
 (0)