Skip to main content

Goole App Engine Virtualenv tools

Project description

Google App Engine virtual environment
===========================

``gaeenv`` (Google App Engine virtual environment) is a tool to integrate
Google App Engine SDK into existing environments built by virtualenv_

Install
-------

Global installation
^^^^^^^^^^^^^^^^^^^

You can install gaeenv globally with `easy_install`_::

$ sudo easy_install gaeenv

or `pip`_::

$ sudo pip install gaeenv

Local installation
^^^^^^^^^^^^^^^^^^

Using virtualenv_ you can install gaeenv via pip_/easy_install_ inside any
virtual environment built with virtualenv_ or virtualenv_wrapper_::

$ virtualenv --no-site-packages env
$ . env/bin/activate
(env) $ pip install gaeenv
(env) $ gaeenv --version
0.1.0

If you want to work with the latest version of the gaeenv you can
install it from the github `repository`_::

$ git clone https://github.com/llinder/gaeenv.git
$ ./gaeenv/gaeenv/main.py --help

.. _repository: https://github.com/llinder/gaeenv
.. _pip: http://pypi.python.org/pypi/pip
.. _easy_install: http://pypi.python.org/pypi/setuptools


Dependency
----------

For gaeenv
^^^^^^^^^^^

* python
* requests

Usage
-----

Basic
^^^^^

Activate existing environment::

$ . env/bin/activate

Or activate existing environment with virtualenvwrapper::

$ workon env

Install latest Google App Engine SDK into environment::

(env) $ gaeenv install sdk

Check location of main utilities::

(env) $ which dev_appserver.py
VIRTUAL_ENV/lib/google_appengine/dev_appserver.py

(env) $ which appcfg.py
VIRTUAL_ENV/lib/google_appengine/appcfg.py

Deactivate environment::

(env) $ deactivate_gae

Advanced
^^^^^^^^

Get available SDK versions::

$ gaeenv list sdk
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.7
1.7.6
1.7.5
1.7.4

Install App Engine SDK "1.8.1"::

$ gaeenv install sdk --version=1.8.1

Link all packages in requirements.txt into src/lib::

$ . env/bin/activate
(env)$ pip install -r requirements.txt
(env)$ gaeenv install requirements -r requirements.txt


Gaeenv changelog
=================

Version 0.1.0
-------------

- Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gaeenv-0.1.3.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file gaeenv-0.1.3.tar.gz.

File metadata

  • Download URL: gaeenv-0.1.3.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gaeenv-0.1.3.tar.gz
Algorithm Hash digest
SHA256 919beb1f0925e0778eea6f2b3b95a80f4d37720d222b8067f36feeb9d7101b1e
MD5 9efaf512e5250a63c165ae3b5f4a8a1d
BLAKE2b-256 4f70f235b5eceaa276ca5b58c96130dc22cd533333c6435968b6e83ac34b0dfd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page