madblog/setup.py

43 lines
1,016 B
Python
Raw Permalink Normal View History

2022-01-11 20:16:27 +01:00
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
def readfile(file):
2024-08-19 11:30:21 +02:00
with open(file, "r") as f:
2022-01-11 20:16:27 +01:00
return f.read()
setup(
2024-08-19 11:30:21 +02:00
name="madblog",
version="0.2.27",
author="Fabio Manganiello",
author_email="info@fabiomanganiello.com",
description="A minimal platform for Markdown-based blogs",
license="MIT",
python_requires=">= 3.8",
keywords="blog markdown",
url="https://git.platypush.tech/blacklight/madblog",
packages=find_packages(include=["madblog"]),
2022-01-11 20:16:27 +01:00
include_package_data=True,
entry_points={
2024-08-19 11:30:21 +02:00
"console_scripts": [
"madblog=madblog.cli:run",
2022-01-11 20:16:27 +01:00
],
},
2024-08-19 11:30:21 +02:00
long_description=readfile("README.md"),
long_description_content_type="text/markdown",
2022-01-11 20:16:27 +01:00
classifiers=[
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
],
install_requires=[
2024-08-19 11:30:21 +02:00
"flask",
"markdown",
"pygments",
"pyyaml",
2022-01-11 20:16:27 +01:00
],
)