-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
28 lines (23 loc) · 930 Bytes
/
main.py
File metadata and controls
28 lines (23 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python3
"""
Polly Example Package
This is a simple example package that demonstrates how to create
a Polly-compatible package with proper metadata structure.
"""
def main():
print("🎉 Hello from Polly Example Package!")
print("📦 This package demonstrates the basic structure")
print(" required for Polly packages.")
print()
print("📋 Package files:")
print(" • .polly.json - Package metadata (optional)")
print(" • .install.polly.json - Package installation metadata (required)")
print(" • main.py (or your entry point) - Your application code")
print()
print("🔧 Required install file fields:")
print(" • install - List of commands to run during installation")
print(" • uninstall - List of commands to run during uninstallation")
print()
print("✨ Example package setup complete!")
if __name__ == "__main__":
main()