1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Rep Power

    Can I install Python packages using source tarballs on Windows?

    Hi folks,

    Are Python source files in the tar.gz files Linux specific or are they system agnostic?
    Once untarred, will I be able to install them by simply using python setup.py?

    (I'm looking for an alternative way to install on windows other than going through pip).

  2. #2
  3. Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Aug 2011
    Rep Power
    Sure, install cygwin/x11 then use that environment except when you're forced to use Microsoft Office products to integrate with your peers.
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Rep Power
    If the file contains only Python source files then yes, they are often system agnostic. Software like 7zip will extract the files out of tar.gz file.

    The biggest problem you are likely to find is that Linux uses a single LineFeed for the end of line marker whereas Windows uses Carriage Return and a LineFeed so the files do not display correctly in notepad etc.

    Python will except either and I believe IDLE can handle either so you should be fine.

IMN logo majestic logo threadwatch logo seochat tools logo