Logo
Explore Help
Sign In
kevinveenbirkenbach/pkgmgr
1
0
Fork 0
You've already forked pkgmgr
Code Issues Pull Requests Actions 15 Packages Projects Releases Wiki Activity
Files
9485bc9e3fc57fc1a9aa3949a045191fa9b455fb
pkgmgr/src/pkgmgr/__main__.py

6 lines
90 B
Python
Raw Normal View History

**Replace main.py with module-based entry point and unify CLI execution** * Remove legacy *main.py* and introduce *pkgmgr* module entry via *python -m pkgmgr* * Add ***main**.py* as the canonical entry point delegating to the CLI * Export *PYTHONPATH=src* in Makefile to ensure reliable imports in dev and CI * Update setup scripts (venv & nix) to use module execution * Refactor all E2E tests to execute the real module entry instead of file paths This aligns pkgmgr with standard Python packaging practices and simplifies testing, setup, and execution across environments. https://chatgpt.com/share/693c9056-716c-800f-b583-fc9245eab2b4
2025-12-12 22:59:46 +01:00
#!/usr/bin/env python3
from pkgmgr.cli import main
if __name__ == "__main__":
main()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 97ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API