mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 04:34:29 +08:00
add django.db.migrations
This commit is contained in:
13
setup.py
13
setup.py
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user