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

    Join Date
    May 2013
    Posts
    1
    Rep Power
    0

    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).

    Thanks
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,900
    Rep Power
    481
    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
    Posts
    39
    Rep Power
    3
    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