Changeset 15:8ae771653ffe in mailjam for setup.py
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r3 r15 1 import os 1 2 from distutils.core import setup 3 4 def proper_etc_path(): 5 # Yes, I'm ommiting windoze... 6 BSDs = ['FreeBSD', 'OpenBSD', 'NetBSD', 'DragonFlyBSD'] 7 linux = ['Linux'] 8 osx = ['Darwin'] 9 os_name = os.uname()[0] 10 if os_name in BSDs: 11 return '/usr/local/etc/' 12 if os_name in linux or os_name in osx: 13 return '/etc/' 2 14 3 15 setup( … … 11 23 description='Mailing lists management software', 12 24 long_description=open('README').read(), 25 scripts=['bin/postman-server', 'bin/postman-mta'], 26 #data_files=[(proper_etc_path()+'postman', ['conf/postman.conf', 27 # 'conf/postman-mta.conf']), 28 # ] 13 29 )
Note:
See TracChangeset
for help on using the changeset viewer.