|
| 1 | +#!/usr/bin/env python |
| 2 | +"""Setup script for cotlette.""" |
| 3 | + |
| 4 | +from setuptools import setup, find_packages |
| 5 | +import os |
| 6 | + |
| 7 | +# Read the README file |
| 8 | +def read_readme(): |
| 9 | + readme_path = os.path.join(os.path.dirname(__file__), "README.md") |
| 10 | + if os.path.exists(readme_path): |
| 11 | + with open(readme_path, "r", encoding="utf-8") as f: |
| 12 | + return f.read() |
| 13 | + return "FastAPI sizzles, Django dazzles. The best of both worlds in one framework." |
| 14 | + |
| 15 | +setup( |
| 16 | + name="cotlette", |
| 17 | + version="0.0.0", |
| 18 | + description="FastAPI sizzles, Django dazzles. The best of both worlds in one framework.", |
| 19 | + long_description=read_readme(), |
| 20 | + long_description_content_type="text/markdown", |
| 21 | + author="Vladimir Penzin", |
| 22 | + |
| 23 | + url="https://github.com/ForceFledgling/cotlette", |
| 24 | + packages=find_packages(where="src"), |
| 25 | + package_dir={"": "src"}, |
| 26 | + python_requires=">=3.6", |
| 27 | + install_requires=[ |
| 28 | + "uvicorn<0.20.0", |
| 29 | + "fastapi<0.100.0", |
| 30 | + "asgiref<4.0.0", |
| 31 | + "jinja2<3.2.0", |
| 32 | + "bcrypt<4.1.0", |
| 33 | + "python-jose<3.4.0", |
| 34 | + "pyjwt<2.8.0", |
| 35 | + "itsdangerous<2.2.0", |
| 36 | + "python-multipart<0.1.0", |
| 37 | + "sqlalchemy<2.0.0", |
| 38 | + "alembic<1.12.0", |
| 39 | + "click<8.2.0", |
| 40 | + ], |
| 41 | + entry_points={ |
| 42 | + "console_scripts": [ |
| 43 | + "cotlette=cotlette.core.management:execute_from_command_line", |
| 44 | + ], |
| 45 | + }, |
| 46 | + classifiers=[ |
| 47 | + "Development Status :: 2 - Pre-Alpha", |
| 48 | + "Environment :: Web Environment", |
| 49 | + "Framework :: FastAPI", |
| 50 | + "Intended Audience :: Developers", |
| 51 | + "License :: OSI Approved :: MIT License", |
| 52 | + "Operating System :: OS Independent", |
| 53 | + "Programming Language :: Python", |
| 54 | + "Programming Language :: Python :: 3", |
| 55 | + "Programming Language :: Python :: 3 :: Only", |
| 56 | + "Programming Language :: Python :: 3.6", |
| 57 | + "Programming Language :: Python :: 3.12", |
| 58 | + "Topic :: Internet :: WWW/HTTP", |
| 59 | + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
| 60 | + "Topic :: Software Development :: Libraries :: Application Frameworks", |
| 61 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 62 | + ], |
| 63 | + license="MIT License", |
| 64 | +) |
0 commit comments