askrobots / dbbasic-content
Public
WordPress-style content management with block-based pages, stored as JSON files on disk instead of MySQL.
setup.py · 1.9 KB · 54 lines
| 1 | from setuptools import setup, find_packages |
| 2 | |
| 3 | with open("README.md", "r", encoding="utf-8") as fh: |
| 4 | long_description = fh.read() |
| 5 | |
| 6 | setup( |
| 7 | name="dbbasic-content", |
| 8 | version="0.2.0", |
| 9 | author="Dan Quellhorst", |
| 10 | author_email="dan@quellhorst.com", |
| 11 | description="Unix-foundation content management for web apps - WordPress escape toolkit", |
| 12 | long_description=long_description, |
| 13 | long_description_content_type="text/markdown", |
| 14 | url="https://github.com/askrobots/dbbasic-content", |
| 15 | project_urls={ |
| 16 | "Bug Tracker": "https://github.com/askrobots/dbbasic-content/issues", |
| 17 | "Documentation": "https://github.com/askrobots/dbbasic-content#readme", |
| 18 | "Source Code": "https://github.com/askrobots/dbbasic-content", |
| 19 | }, |
| 20 | packages=find_packages(exclude=["tests", "tests.*"]), |
| 21 | classifiers=[ |
| 22 | "Development Status :: 3 - Alpha", |
| 23 | "Intended Audience :: Developers", |
| 24 | "Topic :: Software Development :: Libraries :: Python Modules", |
| 25 | "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System", |
| 26 | "License :: OSI Approved :: MIT License", |
| 27 | "Programming Language :: Python :: 3", |
| 28 | "Programming Language :: Python :: 3.8", |
| 29 | "Programming Language :: Python :: 3.9", |
| 30 | "Programming Language :: Python :: 3.10", |
| 31 | "Programming Language :: Python :: 3.11", |
| 32 | "Operating System :: POSIX :: Linux", |
| 33 | "Operating System :: MacOS :: MacOS X", |
| 34 | ], |
| 35 | keywords="cms content-management wordpress unix blocks json", |
| 36 | python_requires=">=3.8", |
| 37 | install_requires=[ |
| 38 | "dbbasic-tsv>=1.0.0", |
| 39 | ], |
| 40 | extras_require={ |
| 41 | "dev": [ |
| 42 | "pytest>=7.0", |
| 43 | "pytest-cov>=4.0", |
| 44 | ], |
| 45 | "wordpress": [ |
| 46 | "pymysql>=1.0", |
| 47 | ], |
| 48 | }, |
| 49 | entry_points={ |
| 50 | "console_scripts": [ |
| 51 | "dbcontent=dbbasic_content.cli:main", |
| 52 | ], |
| 53 | }, |
| 54 | ) |