source: mailjam/setup.py@ 16:cd4170142d87

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

Renamed the project to Mailjam

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