Django

Code

Changeset 60

Show
Ignore:
Timestamp:
07/15/05 14:18:09 (3 years ago)
Author:
adrian
Message:

Removed gunk from legacy django.bin.setup, although distutils installation isn't done yet

Files:

Legend:

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

    r3 r60  
    1 """ 
    2 Usage: 
    3  
    4 python setup.py bdist 
    5 python setup.py sdist 
    6 """ 
     1# This doesn't work yet. 
    72 
    83from distutils.core import setup 
    9 import os 
    10  
    11 # Whether to include the .py files, rather than just .pyc's. Doesn't do anything yet. 
    12 INCLUDE_SOURCE = True 
    13  
    14 # Determines which apps are bundled with the distribution. 
    15 INSTALLED_APPS = ('auth', 'categories', 'comments', 'core', 'media', 'news', 'polls', 'registration', 'search', 'sms', 'staff') 
    16  
    17 # First, lump together all the generic, core packages that need to be included. 
    18 packages = [ 
    19     'django', 
    20     'django.core', 
    21     'django.templatetags', 
    22     'django.utils', 
    23     'django.views', 
    24 ] 
    25 for a in INSTALLED_APPS: 
    26     for dirname in ('parts', 'templatetags', 'views'): 
    27         if os.path.exists('django/%s/%s/' % (dirname, a)): 
    28             packages.append('django.%s.%s' % (dirname, a)) 
    29  
    30 # Next, add individual modules. 
    31 py_modules = [ 
    32     'django.cron.daily_cleanup', 
    33     'django.cron.search_indexer', 
    34 ] 
    35 py_modules += ['django.models.%s' % a for a in INSTALLED_APPS] 
    364 
    375setup( 
    386    name = 'django', 
    39     version = '1.0', 
    40     packages = packages, 
    41     py_modules = py_modules, 
    42     url = 'http://www.ljworld.com/', 
     7    version = '1.0.0', 
     8    url = 'http://www.djangoproject.com/', 
    439    author = 'World Online', 
    44     author_email = 'cms-support@ljworld.com', 
     10    author_email = 'holovaty@gmail.com', 
    4511)