Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    platinfo 0.15.0

    Download button

    No screenshots available
    Downloads: 334  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Trent Mick | More programs
    MIT/X Consortium Lic... / FREE
    April 30th, 2010, 09:12 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    platinfo description

    Standardized platform naming

    platinfo is a small Python module that determines and returns standardized names for platforms, where the "standard" is Trent Mick's reasoning :) from experience building ActivePython on a fairly large number of platforms.

    The driving goal is to provide platform names that are:

    * relatively short
    * readable (as much as possible making matching the given name to an actually machine self-explanatory)
    * be capable enough to produce all names needed to distinguish all platform-specific application builds
    * generally safe for usage in filenames
    * not ugly (e.g. "MSWin32" is ugly)

    A simple usage example:

    >>> from platinfo import PlatInfo
    >>> pi = PlatInfo()
    >>> pi.os
    'macosx'
    >>> pi.arch
    'x86'
    >>> pi.name()
    'macosx-x86'


    Currently this has fairly wide OS coverage (Linux, Windows, Mac, Solaris, HP-UX, AIX).

    Installation

    Use one of the following methods:

    1. Basic install:

     * download the latest platinfo-$version.zip
     * unzip it
     * run python setup.py install

    2. Install with easy_install (if you have it)

     * run easy_install platinfo


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    platform naming | standardized names | Python library | Python | standardized | naming



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM