Changeset 141 for trunk/source

Show
Ignore:
Timestamp:
07/30/08 22:42:02 (16 years ago)
Author:
broder
Message:

In pyHesiodFS, only install LaunchDaemon plist if on a Mac

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/source/pyhesiodfs/setup.py

    r38 r141  
    11from distutils.core import setup 
     2import sys 
     3 
     4extra_options = {} 
     5 
     6if sys.platform == 'darwin': 
     7    extra_options['data_files'] = [('/Library/LaunchDaemons', ('edu.mit.sipb.mit-automounter.plist',))] 
     8 
    29setup(name='pyHesiodFS', 
    310      version='1.0', 
     
    613      py_modules=['hesiod'], 
    714      scripts=['pyHesiodFS.py'], 
    8       data_files=[('/Library/LaunchDaemons', ('edu.mit.sipb.mit-automounter.plist',))]
     15      **extra_options