from setuptools import setup
setup(
name='yourapplication',
packages=['yourapplication'],
include_package_data=True,
install_requires=[
'flask',
],
)
$ export FLASK_APP=yourapplication
$ export FLASK_ENV=development
$ pip install -e .
$ flask run
整了半天,搞个 大型项目
模块化,其实就是一次只能启动一个模块?