askrobots / PyStructUI
Public
Transform data structures into HTML for any Python web framework. Works with Flask, Django, FastAPI. No templates needed - just data. Switch between Bootstrap, Tailwind, Material UI with one line.
setup.py · 1.3 KB · 43 lines
| 1 | """ |
| 2 | PyStructUI - Universal Data Structure to HTML Rendering Engine |
| 3 | """ |
| 4 | |
| 5 | from setuptools import setup, find_packages |
| 6 | |
| 7 | with open("README.md", "r", encoding="utf-8") as fh: |
| 8 | long_description = fh.read() |
| 9 | |
| 10 | setup( |
| 11 | name="pystructui", |
| 12 | version="0.1.0", |
| 13 | author="DBBasic Team", |
| 14 | author_email="dev@dbbasic.io", |
| 15 | description="Convert data structures to HTML for any Python web framework", |
| 16 | long_description=long_description, |
| 17 | long_description_content_type="text/markdown", |
| 18 | url="https://github.com/askrobots/PyStructUI", |
| 19 | packages=find_packages(), |
| 20 | classifiers=[ |
| 21 | "Programming Language :: Python :: 3", |
| 22 | "License :: OSI Approved :: MIT License", |
| 23 | "Operating System :: OS Independent", |
| 24 | "Framework :: Flask", |
| 25 | "Framework :: Django", |
| 26 | "Framework :: FastAPI", |
| 27 | "Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
| 28 | "Topic :: Software Development :: Libraries :: Python Modules", |
| 29 | ], |
| 30 | python_requires=">=3.7", |
| 31 | install_requires=[], |
| 32 | extras_require={ |
| 33 | "flask": ["flask>=2.0.0"], |
| 34 | "django": ["django>=3.2.0"], |
| 35 | "fastapi": ["fastapi>=0.68.0"], |
| 36 | "dev": ["pytest", "black", "flake8"], |
| 37 | }, |
| 38 | entry_points={ |
| 39 | "console_scripts": [ |
| 40 | "pystructui=pystructui.cli:main", |
| 41 | ], |
| 42 | }, |
| 43 | ) |