mozilla/playdoh — Issue #84: Move lib/product_details_json to vendor
Author: kumar303
Created: 2011-10-29 17:05:19+00:00
State: open

What is the deal with lib/product_details_json? Currently it is hard coded into playdoh yet Zamboni [has it as a submodule](https://github.com/mozilla/zamboni/blob/master/.gitmodules#L1).

I think product_details_json should actually live in vendor like everything else. We could turn it into a Python package (with static data) so that its path can be discoverable. Currently Zamboni does:

PROD_DETAILS_DIR = path('lib/product_json')

So the new way could be:

import product_json # from vendor
PROD_DETAILS_DIR = os.path.dirname(product_json.__file__)