Skip to content

Instantly share code, notes, and snippets.

@vsajip
Created March 26, 2013 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsajip/5243936 to your computer and use it in GitHub Desktop.
Save vsajip/5243936 to your computer and use it in GitHub Desktop.
Bootstrap pip using distil, then use pip to install SQLAlchemy
vinay@development:~$ cd /tmp
vinay@development:/tmp$ pyvenv-3.3 venv
vinay@development:/tmp$ distil -e venv install distribute-0.6.35-py2.py3-none-any.whl
Checking requirements for distribute (0.6.35) ... done.
The following new packages will be installed from a local location:
distribute (0.6.35)
Installing distribute (0.6.35) ...
Installation completed.
vinay@development:/tmp$ distil -e venv install pip
Checking requirements for pip (1.3.1) ... done.
The following new packages will be downloaded and installed:
pip (1.3.1)
Downloading pip-1.3.1.tar.gz to /tmp/tmpc6g0k7
241KB @ 101 KB/s 100 % Done: 00:00:02
Unpacking ... done.
Building pip (1.3.1) ...
Running check ...
Running build_ext ...
Running build_py ...
Build completed.
Installing pip (1.3.1) ...
Running install_headers ...
Running install_lib ...
Running install_scripts ...
Running install_distinfo ...
Installation completed.
vinay@development:/tmp$ venv/bin/pip install SQLAlchemy
Downloading/unpacking SQLAlchemy
Running setup.py egg_info for package SQLAlchemy
warning: no files found matching '*.jpg' under directory 'doc'
no previously-included directories found matching 'doc/build/output'
***************************************************************************
WARNING: C extensions are not supported on this Python platform, speedups are not enabled.
Plain-Python build succeeded.
***************************************************************************
Installing collected packages: SQLAlchemy
Running setup.py install for SQLAlchemy
warning: no files found matching '*.jpg' under directory 'doc'
no previously-included directories found matching 'doc/build/output'
***************************************************************************
WARNING: C extensions are not supported on this Python platform, speedups are not enabled.
Plain-Python build succeeded.
***************************************************************************
Successfully installed SQLAlchemy
Cleaning up...
vinay@development:/tmp$ venv/bin/python
Python 3.3.0+ (3.3:c28b0b4e872b, Mar 25 2013, 17:51:34)
[GCC 4.6.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlalchemy
>>> sqlalchemy.__file__
'/tmp/venv/lib/python3.3/site-packages/sqlalchemy/__init__.py'
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment