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 31.852.935 Times

Envbuilder 0.2.2

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

Envbuilder

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://github.com/jasonbaker/envbuilder.git<br />cd envbuilder<br />python setup.py install<br /># if you plan on making changes to envbuilder, use this command:<br />python setup.py 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://github.com/jasonbaker/envbuilder.git'<br /> setup = '$python setup.py 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://github.com/jasonbaker/envbuilder.git<br /><br />envbuilder setup<br />--> virtualenv --no-site-packages .<br />--> /home/jason/src/envbuilder-src/bin/python setup.py 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://github.com/jasonbaker/envbuilder.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
ENVBUILDER RELATED
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  
Networking Tools  -  Remote shutdown restart and logoff guide 1.0.0.5
This software guide helps to know how easily shutdown, restart, and logoff active user, send messages,chat and execute commands in remote computers that have installed and configured the Easy Net Control 4 admins software. Now you can know how...
2.3 MB  
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  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB