AOSSIE-Org / AOSSIE-Org/PictoPy

Use Conda environment instead of Python venv in Windows script based set-up (inside scripts/setup.ps1 )

Đang mở
#1,072 3 bình luận 0 reaction 1 người được giao Được @rahul-vyas-dev nhận Xem trên GitHub
CI/CD enhancement
Ngôn ngữ chính
Python
Star
283
Fork
679
Merge trung bình
7 ngày 2 giờ
Pull request đã merge (30 ngày)
3

Mô tả

Currently, the manual setup instructions use Conda, but the automated Windows setup.ps1 script creates Python virtual environments using python -m venv for the backend and sync-microservice. For consistency and better dependency management, the script should also use Conda.

Proposed changes:

Install **Miniconda** if not present.

Replace python -m venv .env and .sync-env creation with conda create -n python=3.12.

Activate the Conda environment and install dependencies from requirements.txt.

Update the PATH if necessary for Conda binaries.

Benefits:

Consistent environment management between manual and script-based setup

Better dependency isolation on Windows

Avoids common venv issues such as broken pip inside the environment

Easier reproducibility for contributors

Additional context:
Switching to Conda in the script aligns it with the manual instructions and ensures all contributors have a consistent and reliable setup experience.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.