Re: [Pythonsudoku-devel] Problem with configuration
Brought to you by:
xoseotero
From: <xos...@gm...> - 2006-05-30 07:34:55
|
O M=E9rcores 17 Maio 2006 09:55, Xos=E9 Ant=F3n Otero Ferreira escribiu: > I was thinking in create 2 configuration file: > a) a normal configuration file (/etc/pysdk.cfg in UNIX) for configuring > each command line parameter > b) platform.cfg with 4 lines to set where the system configuration is > (/etc/pysdk.cfg), the user configuration (~/.pysdk.cfg), locale dir > (/usr/share/locale) and other param that i forget. > > The problem is... where to put the platform.cfg? The only possible place > that I found was inside the pythonsudoku package (pythonsudoku/*.py and > pythonsudoku/platform.cfg): try to walk the python path for modules > location and find the configuration file there. But this should be the > place for python code only... I've just commited to the SVN this implementation. Right now, PySDK is too unstable for release 0.12 :( |