Changeset 320

Show
Ignore:
Timestamp:
06/27/08 04:51:27 (3 months ago)
Author:
mario
Message:

setup installs twisted if sys.platform != win32

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.5/daemon/setup.py

    r295 r320  
    11from setuptools import setup, find_packages 
    2 import os 
     2import os, sys 
    33 
    44static_types = [ 
     
    1414    '*.template' 
    1515] 
     16 
     17_install_requires = [ "demjson" ] 
     18 
     19if sys.platform != "win32": 
     20    _install_requires.append("Twisted") 
    1621 
    1722setup( 
     
    3035        ]) }, 
    3136    zip_safe = False, 
    32     install_requires=[ 
    33         "demjson", 
    34 #        "Twisted" 
    35     ], 
     37    install_requires = _install_requires, 
    3638    entry_points = '''     
    3739        [console_scripts]