Skip to content

Instantly share code, notes, and snippets.

@sharoonthomas
Last active August 29, 2015 14:04
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 sharoonthomas/72ff0af2809932d35426 to your computer and use it in GitHub Desktop.
Save sharoonthomas/72ff0af2809932d35426 to your computer and use it in GitHub Desktop.
Using pip with Tryton modules
  1. Ensure that PIP is the latest version:

    pip install -U pip

  2. Installing a tryton module:

    pip install trytond_sale

    remember that it installs the most recent released version, as of this writing that is the 3.2 series.

  3. Installing the most recent version from a previous series:

    pip install "trytond_sale>=3.0,<3.1"

    Installs latest version in the 3.0 series

  4. Upgrading a module

    pip install -U trytond_sale

    remember that this would install the most recent series which as of this writing is 3.2

  5. Upgrading within the same series

    pip install -U "trytond_sale>=3.0,<3.1"

  6. Upgrade only the module, without any dependencies

    pip install -U --no-deps "trytond_sale>=3.0,<3.1"

  7. Installing a module from source code

    pip install /path/to/module/folder

  8. Forcefully reinstall a module

    pip install -U --force trytond_sale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment