4 ms·
About three months ago I started a serious attempt to port my projects from Python v2 to v3. Although I do not deploy on OS X, I do a fair bit of development on
by rgacote 11y ago
About three months ago I started a serious attempt to port my projects from Python v2 to v3. Although I do not deploy on OS X, I do a fair bit of development on OS X.
My setup:
1) never use the system Python for development.
2) install Python 2.7.10 and 3.4.3 from mac ports.
3) Always work in a virtual environment.
4) When developing generic scripts, use the port select method to switch between versions.
5) Have virtual environments built out for both versions.
What I've not yet done is write a script to build a binary 2.7 and 3.4 wheel.
In that case, I'd likely just refer to the 2.7 and 3.4 versions specifically instead of generically (ie. python2.7 and python3.4 vs. just python).
- natch 11y agoThanks! Good to hear someone is making it work. I'm studying your reply (and that of citruspi) and am going to take a stab at this.