Find packages (#2049)

Error when installing from master because some packages ('models' & 'mixins') are not being included.
This commit is contained in:
elis-k 2021-03-07 15:51:14 +01:00 committed by GitHub
parent 2c25af8cf5
commit 5c624f8b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ import sys
from distutils.util import strtobool from distutils.util import strtobool
from setuptools import setup from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand from setuptools.command.test import test as TestCommand
@ -61,7 +61,7 @@ setup_kwargs = {
"Build fast. Run fast." "Build fast. Run fast."
), ),
"long_description": long_description, "long_description": long_description,
"packages": ["sanic"], "packages": find_packages(),
"package_data": {"sanic": ["py.typed"]}, "package_data": {"sanic": ["py.typed"]},
"platforms": "any", "platforms": "any",
"python_requires": ">=3.7", "python_requires": ">=3.7",