source: mailjam/setup.py@ 20:bf238ca0c37f

Last change on this file since 20:bf238ca0c37f was 16:cd4170142d87, checked in by Borja Lopez <borja@…>, 12 years ago

Renamed the project to Mailjam

File size: 924 bytes
Line 
1import os
2from distutils.core import setup
3
4def 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/'
14
15setup(
16 name='mailjam',
17 version='0.1.0',
18 author='Francisco de Borja Lopez Rio',
19 author_email='borja@codigo23.net',
20 packages=['mailjam'],
21 url='https://bitbucket.org/codigo23/mailjam',
22 license='BSD licence, see LICENCE',
23 description='Mailing lists management software',
24 long_description=open('README').read(),
25 scripts=['bin/mailjam-server', 'bin/mailjam-mta'],
26 #data_files=[(proper_etc_path()+'mailjam', ['conf/mailjam.conf',
27 # 'conf/mailjam-mta.conf']),
28 # ]
29)
Note: See TracBrowser for help on using the repository browser.