Skip to content

Instantly share code, notes, and snippets.

@alonisser
Last active December 17, 2015 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alonisser/5668765 to your computer and use it in GitHub Desktop.
Save alonisser/5668765 to your computer and use it in GitHub Desktop.
memo to self: how to setup a python developer windows 7 computer

#Setting up a windows 7 python dev computer

  • Set up a dev folder in root with subfolders: projects, programs, custom, envs.

  • Set a HOME (Check specific) variable to point to c:\dev\custom so .dot files should go there.

  • Python: install python 2.7.X 32bit in dev\programs also easy_install pip,and pip install virtualenv.

  • Install virtualenv-wrapper for windows and sets WORKON_HOME to c:\dev\envs

  • Add python and python\scripts to path

  • other languages: install node.js and ruby in dev\programs. if not added autmatically to path,add to path

  • Install npm (comes with node) and node package manager

  • Intall Grunt js task runner.

  • Install wamp in dev\wamp (including php, mysql, phpmyadmin and apache)

  • More dbs:

  • Use a great text editor: install sublime text 2 + preferences (including ubunto mono fonts). follow advice here

    • first lets install the package controll
    • install :emmet,git, djaneiro, pyv8, sublimecodeintel, linter,enhancedsidebar, ipython integration, soda theme
  • Also install a great classic programmer's text editor: Vim(GVIM actually) and plugins. git clone the _vimrc and install pathogen and sensible plugins first in vimfiles/bundle. also monokai color theme.

  • Install python windows binaries7: pyodbc, pyzmk,mysql-python (MySQLdb), tornado, pandas, pyqt

  • Install cygwin in dev\cygwin + add cygwin\bin to path. set enviroment variable CYGWIN to "nodosfilewarning"

    • include grep, curl, wget, make,gettext
  • Install chocolatey a windows package manager. with it install:

    • ack. the great grep replacement for code.
    • install console2 ,a better console and follow directions to customize
  • Have an awesome Python REPL: pip install PyReadlines + ipython. check for missing packages (sometimes jinja2 is missing also) with ipython qtconsole and ipython notebook.

  • Building from source: to build with windows we'll need both visual studio express (preferably 8, python was compiled with that, if you can find one..) and gcc

  • Follow directions in this gist to extract python dll to .def file and set easy_install to compile with it or use this woraround the windows compiling problem (including mingw, the disutils cfg hack etc)

  • Js testing tools: install:

  • server tooling: filezilla, putty

  • Some more web helpers: sass and less for css development, weinre(remote debugging for mobile dev), firebug for firefox

  • Setup a linux virtual enviroment: install virtualbox and vagrant in that order.

  • Gem install jshint (and other linter: puppet, vagrant python etc)

  • Version controll: install hg, bazaar and Git

  • Then the various helpers:recommanded sourcetree to handle git+hg integration, preforce to handle diffs and github client

  • if not comfi with vi as default commit editor install gitpad as replacement.

  • browser add-ons: selenium, yslow. PerfectPixel(welldonecode), casperjs test recorder, speed tracer, colorzila , web developer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment