diff --git a/multimodal_agent_framework/__init__.py b/multimodal_agent_framework/__init__.py index 1f032f4..a2139cc 100644 --- a/multimodal_agent_framework/__init__.py +++ b/multimodal_agent_framework/__init__.py @@ -22,7 +22,6 @@ ) from .function_schema_generator import generate_function_schema -__version__ = "0.1.0" __all__ = [ "Connector", "OpenAIConnector", diff --git a/pyproject.toml b/pyproject.toml index 61e71c1..61002da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "multimodal-agent-framework" -version = "0.1.8" +version = "0.1.9" description = "A multi-modal agent framework with unified interfaces for different AI model providers" readme = "README.md" requires-python = ">=3.9" @@ -100,4 +100,5 @@ testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] -addopts = "-v --tb=short" \ No newline at end of file +addopts = "-v --tb=short" + diff --git a/scripts/check_black.py b/scripts/check_black.py deleted file mode 100755 index 11fc945..0000000 --- a/scripts/check_black.py +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env python3 -""" -Black formatting check script for CI/CD pipeline. -This script checks if code is properly formatted with black and provides clear feedback. -""" - -import subprocess -import sys -from pathlib import Path - - -def run_black_check(): - """Run black --check on the codebase and provide clear feedback.""" - - # Define the paths to check - paths_to_check = ["multimodal_agent_framework/", "tests/", "scripts/"] - - # Filter to only existing paths - existing_paths = [path for path in paths_to_check if Path(path).exists()] - - if not existing_paths: - print("āŒ No Python code directories found to check") - return 1 - - print("šŸ” Checking code formatting with black...") - print(f"Checking paths: {', '.join(existing_paths)}") - - try: - # Run black --check on the existing paths - result = subprocess.run( - ["black", "--check", "--diff"] + existing_paths, - capture_output=True, - text=True, - ) - - if result.returncode == 0: - print("āœ… All Python code is properly formatted with black!") - return 0 - else: - print("āŒ Code formatting issues found!") - print("\nThe following files need formatting:") - print(result.stdout) - - if result.stderr: - print("\nErrors:") - print(result.stderr) - - print("\nšŸ’” To fix formatting issues, run:") - print(f" black {' '.join(existing_paths)}") - return 1 - - except FileNotFoundError: - print("āŒ Black is not installed. Please install it with:") - print(" pip install black") - return 1 - except Exception as e: - print(f"āŒ Error running black: {e}") - return 1 - - -if __name__ == "__main__": - sys.exit(run_black_check()) diff --git a/setup.py b/setup.py deleted file mode 100644 index 61b8644..0000000 --- a/setup.py +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env python3 -"""Setup script for multimodal-agent-framework""" - -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="multimodal-agent-framework", - version="0.1.0", - author="Your Name", - author_email="your.email@example.com", - description="A multi-modal agent framework with unified interfaces for different AI model providers", - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/yourusername/multimodal-agent-framework", - packages=find_packages(exclude=["tests*", "examples*", "venv*"]), - classifiers=[ - "Development Status :: 3 - Alpha", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Topic :: Software Development :: Libraries :: Python Modules", - "Topic :: Scientific/Engineering :: Artificial Intelligence", - ], - python_requires=">=3.9", - install_requires=requirements, - extras_require={ - "dev": [ - "pytest>=7.0", - "pytest-cov>=4.0", - "black>=22.0", - "flake8>=5.0", - "mypy>=1.0", - ], - }, - entry_points={ - "console_scripts": [ - # Add any CLI commands here if needed - ], - }, - include_package_data=True, - zip_safe=False, -)