Initial commit: CodiMD CLI harness
Features: - Note operations (list, get, create, update, delete) - User authentication (login, logout, status) - Export operations (markdown, PDF, HTML, slide) - Revision history - JSON output mode - REPL interactive mode - 46 tests passing (100%) - Python 3.7+ support
This commit is contained in:
52
setup.py
Normal file
52
setup.py
Normal file
@@ -0,0 +1,52 @@
|
||||
"""
|
||||
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",
|
||||
],
|
||||
},
|
||||
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",
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user