Skip to content

Commit

Permalink
Release 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Oct 1, 2020
1 parent 5bc3759 commit 645ee97
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,46 +9,50 @@ def find_stub_files(name: str) -> List[str]:
result = []
for root, dirs, files in os.walk(name):
for file in files:
if file.endswith('.pyi'):
if file.endswith(".pyi"):
if os.path.sep in root:
sub_root = root.split(os.path.sep, 1)[-1]
file = os.path.join(sub_root, file)
result.append(file)
return result


with open('README.md', 'r') as f:
with open("README.md", "r") as f:
readme = f.read()

dependencies = [
'mypy>=0.782,<0.790',
'typing-extensions',
'django',
"mypy>=0.782,<0.790",
"typing-extensions",
"django",
]

setup(
name="django-stubs",
version="1.5.0",
description='Mypy stubs for Django',
version="1.6.0",
description="Mypy stubs for Django",
long_description=readme,
long_description_content_type='text/markdown',
license='MIT',
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/typeddjango/django-stubs",
author="Maksim Kurnikov",
author_email="[email protected]",
py_modules=[],
python_requires='>=3.6',
python_requires=">=3.6",
install_requires=dependencies,
packages=['django-stubs', *find_packages(exclude=['scripts'])],
package_data={'django-stubs': find_stub_files('django-stubs')},
packages=["django-stubs", *find_packages(exclude=["scripts"])],
package_data={"django-stubs": find_stub_files("django-stubs")},
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Typing :: Typed",
],
project_urls={
'Release notes': 'https://github.com/typeddjango/django-stubs/releases',
"Release notes": "https://github.com/typeddjango/django-stubs/releases",
},
)

0 comments on commit 645ee97

Please sign in to comment.