setup.py
author David Anderson <dvander@alliedmods.net>
Sun Feb 02 14:00:01 2014 -0800 (2014-02-02)
changeset 235 fd0f5f1a7a10
parent 221 de2d0d6665ff
permissions -rwxr-xr-x
Clean and vacuum unused source nodes after reconfiguring; also don't add nodes for configure files.
     1 #!/usr/bin/env python
     2 # vim: set ts=2 sw=2 tw=99 et: 
     3 import sys
     4 from distutils.core import setup
     5 
     6 scripts = [
     7   'scripts/ambuild'
     8 ]
     9 
    10 if sys.platform == 'win32':
    11   scripts.append('scripts/ambuild.bat')
    12 elif sys.platform == 'darwin':
    13   scripts.append('scripts/ambuild_dsymutil_wrapper.sh')
    14 else:
    15   scripts.append('scripts/ambuild_objcopy_wrapper.sh')
    16 
    17 setup(
    18   name = 'AMBuild',
    19   version = '2.0',
    20   description = 'AlliedModders Build System',
    21   author = 'David Anderson',
    22   author_email = '[email protected]',
    23   url = 'http://www.alliedmods.net/ambuild',
    24   packages = [
    25     'ambuild',
    26     'ambuild2',
    27     'ambuild2.frontend',
    28     'ambuild2.ipc',
    29     'ambuild2.frontend.amb2'
    30   ],
    31   scripts = scripts
    32 )
    33