问题描述
+---Common
| \---HOA.Common
| | HOA.Common.sln
| |
| +---HOA.Logger
| | | HOA.Logger.pyproj
| | | ___init__.py
| | |
| | +---Common
| | | constants.json
| | | utils.py
| | | __init__.py
| | |
| | \---logger
| | concurrent_log_handler.py
| | logging_manager.py
| | pyspark_log_handler.py
| | __init__.py
| |
| +---HOA.Messaging
| | | HOA.Messaging.pyproj
| | |
| | \---messaging_brokers
| | abstract_messaging_broker.py
| | RabbitMQ_broker.py
| | __init__.py
| |
| +---HOA.TaskManager
| | | HOA.TaskManager.pyproj
| | |
| | +---notification
| | | notification_manager.py
| | | __init__.py
| | |
| | \---task_engine
| | task_manager.py
| | __init__.py
| |
| \---HOA.Utilities
| | HOA.Utilities.pyproj
| |
| \---common
| constants.json
| job_context.py
| load_class.py
| singleton.py
| task_base.py
| task_queue.py
| task_result.py
| utility_functions.py
| __init__.py
|
\---Services
\---HOA.AnalyticsService
| HOA.AnalyticsService.py
| HOA.AnalyticsService.pyproj
| HOA.AnalyticsService.sln
| HOA.AnalyticsService.spec
| message_handler.py
|
+---analytics_modules
| +---desired_mode
| | desired_mode_detection.py
| | __init__.py
| |
| \---optimal_operations
| optimal_duration.py
| optimal_duration_task.py
| optimal_operation_base.py
| optimal_operation_utils.py
| optimal_range.py
| optimal_range_task.py
| __init__.py
我正在尝试从中创建一个 exe。有两个主要文件夹:“Common”包含我编写的一些常用包,“Services”包含我的应用程序个人模块。我的代码的入口点在 'Services'>'HOA.AnalyticsService'>'HOA.AnalyticsService.py'
当我尝试使用 pyinstaller 为此构建 exe 时,pyinstaller 无法捆绑我在“Common”文件夹中的自定义软件包。如何添加这些包?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)