Python

Article Thumbnail
Article

Using DTS Eclipse, PyDev, and Python 2.7

Langdon White

Red Hat intended for developers to integrate Developer Toolset 2.0 (DTS) and Red Hat Software Collections 1.0 (RHSCL). As you may not realize, inside the DTS is a copy of Eclipse and you can use that with any software collection. In other words, you can use PyDev, with the Python 2.7 Software Collection from RHSCL in the Eclipse from DTS. Let's find out how. First, let's make sure you have the right repos, [lwhite@lwhite-laptop ~]$ sudo yum repolist Loaded plugins...

Article Thumbnail
Article

Using RHSCL: Django on Python 3 with PostgreSQL

Bohuslav Kabrda

This article will show you how to use two software collections of RHSCL 1.0 Beta for cutting edge development. We will create a Django 1.5 application (running on Python 3.3), that will use PostgreSQL 9.2 as a database. Installing Dependencies First off, we will install the required collections. If you haven't done so already, you need to subscribe to the correct RHN channel ( rhel-x86_64- variant-6-rhscl-1-beta, where variant is one of server, client or workstation). Now you should be able...

Article Thumbnail
Article

Red Hat Software Collections 1.0 Beta Now Available

Mike Guerette

You may have seen references to " software collections" in this blog, but this is different. "Red Hat Software Collections", now in beta for the first time, is a collection of refreshed and supported web/dynamic languages and databases for Red Hat Enterprise Linux. Now you can have two versions of software on one OS, or refresh these languages and databases more frequently. See this list below! From the announcement: "Red Hat is pleased to announce the Beta release of Red...

Article Thumbnail
Article

Setting up Django and Python 2.7 on Red Hat Enterprise 6 the easy way

Langdon White

Recently, I needed to get Django installed with Python 2.7 on Red Hat Enterprise Linux 6. As this is not a directly supported activity, I wanted to document how I went about it. As you might imagine, the generally expected method for install would be to grab the Python 2.7 source tree and then build it. Obviously, that can be a lot of work; is not particularly repeatable; and, potentially, exposes you to more security flaws. As a result, I...