Features: - Add admin reset-password command to reset user passwords - Support SQLite, PostgreSQL, and MySQL databases - Use scrypt hashing compatible with CodiMD - Update README with reset-password usage examples
56 lines
1.7 KiB
Python
56 lines
1.7 KiB
Python
"""
|
|
Setup script for cli-anything-codimd package.
|
|
"""
|
|
|
|
from pathlib import Path
|
|
from setuptools import setup, find_packages, find_namespace_packages
|
|
|
|
setup(
|
|
name="cli-anything-codimd",
|
|
version="0.1.0",
|
|
description="CLI harness for CodiMD - collaborative markdown notes",
|
|
long_description=open("README.md").read() if (Path(__file__).parent / "README.md").exists() else "",
|
|
long_description_content_type="text/markdown",
|
|
author="cli-anything",
|
|
url="https://github.com/cli-anything/codimd",
|
|
package_data={
|
|
"cli_anything.codimd": ["skills/*.md", "README.md"],
|
|
},
|
|
packages=find_namespace_packages(include=["cli_anything.*"]),
|
|
include_package_data=True,
|
|
install_requires=[
|
|
"click>=8.0.0",
|
|
"requests>=2.33.0",
|
|
"urllib3>=2.0.0,<3",
|
|
"charset-normalizer>=3,<4",
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=3.0.0",
|
|
"requests-mock>=1.9.0",
|
|
"pytest-subprocess>=1.5.0",
|
|
],
|
|
"admin": [
|
|
"scrypt>=0.8.0",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"cli-anything-codimd=cli_anything.codimd.codimd_cli:cli",
|
|
],
|
|
},
|
|
python_requires=">=3.7",
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
],
|
|
)
|