Changeset 523 for elixir/trunk/setup.py

Show
Ignore:
Timestamp:
09/02/10 09:38:43 (21 months ago)
Author:
ged
Message:

apply patch from "foogod" to add "out-of-the-box" support for python 3.x by
running 2to3 within setup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/setup.py

    r520 r523  
    11from setuptools import setup, find_packages 
     2import sys 
     3 
     4extra = {} 
     5if sys.version_info >= (3,): 
     6    extra['use_2to3'] = True 
    27 
    38setup(name="Elixir", 
     
    4146          "Topic :: Software Development :: Libraries :: Python Modules" 
    4247      ], 
    43       test_suite = 'nose.collector') 
     48      test_suite = 'nose.collector', 
     49      **extra)