Python install_requires order

This is the place for queries that don't fit in any of the other categories.

Python install_requires order

Postby tal » Sun Dec 01, 2013 7:01 pm

I'm trying to deploy Trac on a free hosted virtual server service, which is called OpenShift.

It works fine, see:

The problem is the localization support.
According to TracInstall, Babel should be installed before installing Trac in order to support localization.

The problem is that I can't control on the order that the python packages will be install in script.
It always installs Trac first, since it's legal(for it, Trac doesn't depend on Babel).

I even tried to add Babel to setup_requires, but after reading the documentation I realize why it doesn't relevant.

Here is my
Code: Select all
from setuptools import setup

setup(name='MaxDream Trac',
      description='OpenShift App',
      install_requires=['Babel>=0.9.5', 'Trac>=1.1'],

Any good solution for this mess?

BTW: Every time I push this setup script the server do a full rebuild, so don't be worry about that.
Posts: 3
Joined: Sat Oct 12, 2013 6:23 pm

Return to General Coding Help

Who is online

Users browsing this forum: Bing [Bot] and 9 guests