Changeset 3201 for TI12-security
- Timestamp:
- 11/01/08 13:27:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/python/ndg-security-install.py
r3063 r3201 321 321 # you're replacing instead of the new one 322 322 import pkg_resources 323 eggConfigDir = pkg_resources.resource_filename('ndg.security.server', 324 'conf') 323 325 324 # Get distribution version info 326 325 serverDistro = pkg_resources.get_distribution('ndg-security-server') 326 eggConfigDir = os.path.join(serverDistro.location, 'ndg', 'security', 327 'server', 'conf') 328 327 329 configDirVers = "%s.%s" % (self.opt.configDir, serverDistro.version) 328 330 # Copy over conf directory from egg
Note: See TracChangeset
for help on using the changeset viewer.