mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 15:22:37 +00:00
feat: Add installation verification script
- Add test_installation.py to verify package installation - Test imports of key components - Display package version and imported modules Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
21
test_installation.py
Normal file
21
test_installation.py
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
"""
|
||||||
|
Test script to verify email_processor package installation and imports.
|
||||||
|
"""
|
||||||
|
from email_processor import (
|
||||||
|
EmailAnalysisCrew,
|
||||||
|
ResponseCrew,
|
||||||
|
GmailTool,
|
||||||
|
EmailTool,
|
||||||
|
__version__
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_package_installation():
|
||||||
|
print(f"Email Processor Package Version: {__version__}")
|
||||||
|
print("Successfully imported all components:")
|
||||||
|
print(f" - {EmailAnalysisCrew.__name__}")
|
||||||
|
print(f" - {ResponseCrew.__name__}")
|
||||||
|
print(f" - {GmailTool.__name__}")
|
||||||
|
print(f" - {EmailTool.__name__}")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
test_package_installation()
|
||||||
Reference in New Issue
Block a user