Skip to main content

Tryton template for virtualenvwrapper to be used with the mkproject command.

Installation

pip install virtualenvwrapper.tryton

Usage

mkproject -t tryton tryton_project

This command would install the current development version of tryton. The mercurial repository of tryton trunk will be cloned to the root of your project too.

You can use the same extension to make development environments with older versions of Tryton too. For example to make a development environment for 2.8 version of tryton use:

mkproject -t tryton28 tryton_project

The project folder also has an etc folder and the trytond.conf template which you could use in your project.

Templates

The templates included are:

  • tryton30 - Tryton 3.0

  • tryton28 - Tryton 2.8

  • tryton26 - Tryton 2.6

  • tryton24 - Tryton 2.4

  • tryton22 - Tryton 2.2

  • tryton20 - Tryton 2.0

  • tryton18 - Tryton 1.8

  • tryton16 - Tryton 1.6

  • tryton14 - Tryton 1.4

  • tryton12 - Tryton 1.2

  • tryton10 - Tryton 1.0

Invoke Template

There is an expecial template tryton_invoke that clones and invoke repo and executes a task called bs (bootstrap) to build all the envirorment.

To use this template you must define the INVOKE_REPO envirorment variable or pass the invoke repo route as additional parameter. The following call:

mkproject -t tryton_invoke tryton_project <invoke_repo>

Will clone the mercurial repository hosted in <invoke_repo> which must contain and bs tasks. This is used to populate the virtualenv with all the needed sources.

And example of a invoke repo can be found at: https://bitbucket.org/nantic/tryton-tasks/

For more info about invoke please refer to their oficial documentation hosted on http://docs.pyinvoke.org/en/latest/

Metadata

Release files for virtualenvwrapper.tryton 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for virtualenvwrapper.tryton 0.3
File Size Uploaded
virtualenvwrapper.tryton-0.3.tar.gz 3.5 kB Details

Release files / virtualenvwrapper.tryton-0.3.tar.gz

Download URL virtualenvwrapper.tryton-0.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
455248b9afc0f560e1cf85195912a159d5876399ce45456cbb2d640deef2fe22
BLAKE2b-256 checksum
How to use checksums
bc09dfc4498d1233cad4731ca17d04ce31de50c10aa79d24b56bea0c1bec667f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page