Django

Code

Changeset 4195

Show
Ignore:
Timestamp:
12/13/06 00:07:15 (2 years ago)
Author:
adrian
Message:

Fixed #3117 -- Changed setup.py to get version from django.VERSION dynamically. Thanks for the patch, ymasuda

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/setup.py

    r4114 r4195  
    2626        data_files.append((dirpath, [os.path.join(dirpath, f) for f in filenames])) 
    2727 
     28# Dynamically calculate the version based on django.VERSION. 
     29version = "%d.%d-%s" % (__import__('django').VERSION) 
     30 
    2831setup( 
    2932    name = "Django", 
    30     version = "0.95"
     33    version = version
    3134    url = 'http://www.djangoproject.com/', 
    3235    author = 'Lawrence Journal-World',