37 lines
817 B
Python
37 lines
817 B
Python
|
import sys
|
||
|
import setuptools
|
||
|
from tkinter import Tk, ttk
|
||
|
|
||
|
|
||
|
def template_tutorial() -> None:
|
||
|
"""Shows a short tutorial for this template,
|
||
|
generates secret tokens and copies the proper docker-compose.yml
|
||
|
asking for the preferred DBMS (MySQL or PostgreSQL)"""
|
||
|
|
||
|
|
||
|
# Run the tutorial just once,
|
||
|
# when pip calls the script
|
||
|
# with the `egg_info` argument
|
||
|
if len(sys.argv) >= 1 and sys.argv[1] == 'egg_info':
|
||
|
template_tutorial()
|
||
|
|
||
|
setuptools.setup(
|
||
|
name='app',
|
||
|
version='1.0.0',
|
||
|
install_requires=[
|
||
|
'fastapi',
|
||
|
'uvicorn[standard]',
|
||
|
'gunicorn',
|
||
|
'jinja2',
|
||
|
'starlette-wtf',
|
||
|
'sqlalchemy',
|
||
|
'sqlalchemy-utils',
|
||
|
'mysqlclient',
|
||
|
'python-dotenv',
|
||
|
'autopep8',
|
||
|
'pylint',
|
||
|
'mypy',
|
||
|
],
|
||
|
python_requires='>=3.7',
|
||
|
)
|