You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print(f"{RED}Aucun token PyPI trouvé dans TWINE_PASSWORD ni de fichier .pypirc détecté.\nLa publication ne peut pas continuer sans authentification.{ENDC}")
101
+
print(f"{RED}Aucun token PyPI trouvé dans TWINE_PASSWORD ni de fichier .pypirc détecté.{ENDC}")
102
+
print(f"{RED}La publication ne peut pas continuer sans authentification.{ENDC}")
94
103
sys.exit(1)
95
104
96
105
defmain():
97
106
try:
98
-
print(f"{GREEN}🚀 Début du processus de publication...{ENDC}")
107
+
print(f"{GREEN}🚀 Début du processus de publication automatisé...{ENDC}")
108
+
print("="*60)
99
109
100
110
install_deps()
101
111
print(f"{GREEN}✅ Dépendances installées{ENDC}")
102
112
103
113
build_package()
104
114
print(f"{GREEN}✅ Package construit{ENDC}")
105
115
106
-
build_docs()
107
-
print(f"{GREEN}✅ Documentation générée{ENDC}")
116
+
check_package()
117
+
print(f"{GREEN}✅ Package vérifié{ENDC}")
118
+
119
+
publish_pypi()
120
+
print(f"{GREEN}✅ Package publié sur PyPI{ENDC}")
121
+
122
+
print("\n"+"="*60)
123
+
print(f"{GREEN}🎉 Publication terminée avec succès !{ENDC}")
124
+
print(f"{YELLOW}Le package est maintenant disponible sur PyPI.{ENDC}")
125
+
print(f"{YELLOW}Cela peut prendre quelques minutes pour apparaître.{ENDC}")
108
126
109
-
git_push_docs()
110
-
print(f"{GREEN}✅ Documentation poussée sur Git{ENDC}")
0 commit comments