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",
|
2024-10-25 10:05:09 +02:00
|
|
|
version="0.2.31",
|
2024-08-19 11:30:21 +02:00
|
|
|
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
|
|
|
],
|
|
|
|
)
|