GithubHelp home page GithubHelp logo

isabella232 / python27-for-el6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cfpb/python27-for-el6

0.0 0.0 0.0 339 KB

Home Page: https://github.com

License: Creative Commons Zero v1.0 Universal

Shell 100.00%

python27-for-el6's Introduction

Python 2.7 RPM built for RHEL 6.5

Description: RHEL 6.5 comes with Python 2.6 installed. This project contains a SPEC file for building an RPM that compiles Python 2.7 and installs pip and virtualenv.

Dependencies

Currently, only RHEL and CentOS 6.5 have been tested. Other dependencies are installed via the boostrap.sh script.

Installation

Build the RPM using Vagrant

  1. Once the repo has been cloned, run "vagrant up" to create the bulid VM
  2. Run "vagrant ssh" to connect
  3. CD to ~/rpmbuild
  4. Run "rpmbuild -ba SPECS/python27-alt.spec"

Build the RPM on a server

  1. Once the repo has been cloned, run "sh ./bootstrap.sh"
  2. CD to ~/rpmbuild
  3. Run "rpmbuild -ba SPECS/python27-alt.spec"

Install the RPM

Install the built RPM by running "sudo yum install RPMS/x86_64/python27-2.7.6-1.el6.x86_64.rpm"

Configuration

Edit the SPEC file to make changes to the build configuration.

Usage

  1. Run /usr/local/bin/virtualenv ~/.virtualenvs/{ your_venv }
  2. Activate using "source ~/.virtualenvs/{ your_venv }/bin/activate"
  3. python -V should return 2.7.6
  4. Install packages using pip, and code!

Known issues

  • Currently, a number of compilation errors are displayed while the RPM is being built. This is related to the rpmbuild process itself attempting to binary compile various Python 2.7 packages using the system Python (2.6). So far, this has not had any affect on the usability of the Python install.

Getting help

If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.

Getting involved

To contribute, please see CONTRIBUTING.


Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy

python27-for-el6's People

Contributors

anselmbradford avatar contolini avatar marcesher avatar scotchester avatar tanderegg avatar virtix avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.