add django.db.migrations

This commit is contained in:
Maxim Kurnikov
2018-12-20 22:31:05 +03:00
parent 094b8421ab
commit 5135b004bd
32 changed files with 1052 additions and 24 deletions

View File

@@ -1,16 +1,5 @@
import os
from distutils.core import setup
def find_stubs(package):
stubs = []
for root, dirs, files in os.walk(package):
for file in files:
path = os.path.join(root, file).replace(package + os.sep, '', 1)
stubs.append(path)
return {package: stubs}
setup(
name="django-stubs",
url="https://github.com/mkurnikov/django-stubs.git",
@@ -19,7 +8,7 @@ setup(
version="0.1.0",
license='BSD',
install_requires=[
'Django>=2.1.1',
'Django',
'mypy @ git+https://github.com/python/mypy.git#egg=mypy-0.660+dev.01c268644d1d22506442df4e21b39c04710b7e8b'
],
packages=['mypy_django_plugin']