Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.390.766 Times

Envbuilder 0.2.2

Company: Jason Baker
Date Added: July 11, 2013  |  Visits: 184


Report Broken Link
Printer Friendly Version

Product Homepage
Download (16 downloads)

Envbuilder is a system for automatically building virtualenvs in Python. To do this, it uses a .env config file to define parcels, which are individual pieces of Python software to be checked out and installed into the virtualenv.<br /><br />Envbuilder is mainly tested under Linux, but it should work under any platform that supports unix-y commands (including cygwin). In fact, you might even be able to make one config file work on both Windows and *nix if you're careful.<br /><br />Installing<br /><br />To install envbuilder, you have two options: installing from git or installing from pypi. If you would like to install via git, use the following set of commands:<br /><br />git clone git://<br />cd envbuilder<br />python install<br /># if you plan on making changes to envbuilder, use this command:<br />python develop<br /><br />If you would like to install from pypi, you should use pip:<br /><br />pip install envbuilder<br /><br />The .env file<br /><br />The .env's file format is similar to the .ini file format, but there are some major differences. The best way to illustrate this is with an example. The following will make a virtualenv with envbuilder installed. There's probably not any good reason to do this other than to provide an easy example for the README:<br /><br />[project]<br />parcels = 'envbuilder', # Note the comma<br /><br /> [[DEFAULT]]<br /> git_checkout = 'git clone $url'<br /> python = '$PWD/bin/python'<br /><br /> [[envbuilder]]<br /> name = 'envbuilder'<br /> url = 'git://'<br /> setup = '$python develop'<br /> checkout = '$git_checkout'<br /><br />The sections<br /><br /> * project - This section is the top-level section. The only option it contains is "parcels". This is a list of all of the parcels to be installed into the virtualenv.<br /> * DEFAULT - In this particular example, this particular section is probably not very meaningful. However, when using multiple parcels, it is useful to define default values to be used in each section.<br /> * envbuilder - Here's where we actually define a parcel. There are currently only two options that need to be defined: setup and checkout.<br /><br />You'll notice that in both of these options, we use something called string interpolation. Every part that begins with a $ is defined somewhere else in the config file. The order that it uses to check is the following:<br /><br /> 1. The current section.<br /> 2. The DEFAULT subsection of the project section.<br /> 3. The project section.<br /> 4. The system's environment variables<br /><br />To run this, copy the .env file to where you want to build the project and run the following commands (the output only shows the shell commands, but the output is left out for brevity's sake):<br /><br />envbuilder co<br />--> git clone git://<br /><br />envbuilder setup<br />--> virtualenv --no-site-packages .<br />--> /home/jason/src/envbuilder-src/bin/python develop<br />(From: /home/jason/src/envbuilder-src/envbuilder)<br /><br />As you can see, the setup command is executed from within the checked out envbuilder directory (which is why the $cwd variable is required). You can also see that the checkout command was translated in the following steps:<br /><br /> 1. $git_checkout<br /> 2. git clone $url<br /> 3. git clone git://<br /><br />Questions<br /><br />Can't buildout do everything you're doing?<br /><br />Yes, it can (and more). I'm of the opinion that that isn't necessarily a good thing. After all, C++ can do much more than Python. And yet, people still use Python because programming in it is much simpler.<br /><br />What revision control systems do you support?<br /><br />Envbuilder currently has support for svn (via an svn_checkout default option). However, you can theoretically use any revision control system that has a command-line interface.<br /><br />Does envbuilder have to be used for Python?<br /><br />Envbuilder was designed to be flexible enough that it could theoretically be used with other languages, but this has not yet been tried. Any saps (aka "open source developers") willing to test this out are encouraged to do so!

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Clone Commands Config Default Define Envbuilder Install Installed Options Parcels Project Python Section Setup Setuppy Virtualenv
Users rating: 0/10

License: Freeware Size: 10.24 KB
More Reviews or Write Review

Libraries  -  Tie::Layers 0.06
SYNOPSIS ##### # Subroutines # use Tie::Layers qw(is_handle config); $yes = is_handle( $file_handle ); ($key, $old_value) = config(%options, $key); ($key, $old_value) = config(%options, $key => $new_value ); #### # Config default...
71.68 KB  
Programming  -  distPND 0.1
This project provides Distutils commands that can be used to create PND files for the Pandora handheld. Two commands are provided: gen_pxml and bdist_pnd. gen_pxml will generate a PXML file based on information contained in the setup...
10.24 KB  
Network & Internet  -  cockerel dev 1.0
cockerel is a lesson planner and prover for math classes. Requires you have Coq 8.2pl1 or higher installed. Cockerel is a web based interactive mathematical lesson planner. It allows instructors to create mathematical...
10.24 KB  
Programming  -  SpecLoud 0.3.1
SpecLoud is a Python module to use nosetests and plugins to take BDD specifications easier. Installation The easiest way to install specloud is using pip and requirements file: pip install --no-deps specloud -r...
10.24 KB  
Utilities  -  ego-boost 0.1.2
ego-boost is a Python module that will do nothing less than boosting the ego of any Python developer who has made packages available via PyPI. Finally, with one simple command and a cronjob you can track the downloads of your packages over time....
10.24 KB  
Modules  -  Product Exchange Rates At A Glance 1.1
This contribution will add a small table view to your product info page with the exchange rate information for all valuta, except the shop's default valuta, you have installed in your shop.It only appears when the default currency is active.
Modules  -  Gittyup drush command 6.x-1.x-de
Gittyup is a set of drush commands to update a Drupal install's git repository. With the advent of drush site aliases and site groups, as well as it's remote capabilities, it became advantageous to use drush commands instead of shell scripts for...
10 KB  
Puzzles  -  Kye 0.9.3
Kye is a clone of the classic puzzle game Kye to Linux (well, to Python and pygtk, so it should run on most platforms where those are available). If you want to know what Kye is about, read here. Python Kye is written and maintained by me, Colin...
100.35 KB  
Miscellaneous Mail Tools  -  CodeTwo Attach Unblocker 1.2.4
CodeTwo Attach Unblocker allows fast and convenient configuration of Microsoft Outlook to unblock attachments blocked by Outlook by default (for example, .exe, .url, .reg files). The program is setup directly in Microsoft Outlook, which ensures...
6.68 MB  
Utilities  -  tvrenamr 3.2.1
TV Renamr is a utility to rename TV shows based upon filenames or user input. Installation Python Package Index Make sure you have the python setuptools package installed for your version of python (check with python...
10.24 KB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB