- Add tagging system Python package with modular architecture (config, core, impl) - Create core interfaces for file discovery, content analysis, and tag generation - Implement content analyzer with language detection and topic extraction - Implement file discovery engine with directory scanning and filtering - Implement tag generator with hierarchical tag creation and consolidation - Add configuration management with example config and validation - Create comprehensive design and requirements documentation in .kiro/specs - Add pytest test suite with unit tests for models, interfaces, and config - Add setup.py, requirements.txt, and pytest.ini for package management - Add README.md with project overview and usage instructions - Update workspace.json with new project structure - Add Excalidraw diagram for system architecture visualization - Establish foundation for automated vault tagging and metadata management
49 lines
1.5 KiB
Python
49 lines
1.5 KiB
Python
"""Setup script for the comprehensive tagging system."""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
|
requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
|
|
|
setup(
|
|
name="comprehensive-tagging-system",
|
|
version="0.1.0",
|
|
author="Tagging System",
|
|
description="A comprehensive tagging system for Obsidian vaults",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
packages=find_packages(),
|
|
classifiers=[
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: End Users/Desktop",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
],
|
|
python_requires=">=3.8",
|
|
install_requires=requirements,
|
|
extras_require={
|
|
"dev": [
|
|
"black>=22.0.0",
|
|
"flake8>=5.0.0",
|
|
"mypy>=1.0.0",
|
|
],
|
|
"test": [
|
|
"pytest>=7.0.0",
|
|
"hypothesis>=6.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"tagging-system=tagging_system.cli:main",
|
|
],
|
|
},
|
|
) |