1
安裝特定於平臺的依賴我用在我的測試LDTP並談到了兩個不同的平臺作爲兩種不同的封裝:通過PIP
- 在Mac OS PyAtom;
- Linux上的LDTP。
恰巧,它們都具有特定於平臺的二進制文件,並且不能真正安裝在其他操作系統上。我的問題是,如何讓我的requirements.txt
安裝依賴於平臺的軟件包?
理想情況下,應該是這樣的:
mac:
-e git+https://github.com/pyatom/[email protected]#egg=atomac-master
linux:
ldtp==3.5.0
holmium.core==0.7.6
pytest==2.5.2
selenium==2.42.1