Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed gunk from legacy django.bin.setup, although distutils install…

…ation isn't done yet

git-svn-id: http://code.djangoproject.com/svn/django/trunk@60 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c8cae5bed9cb719a5825e3e0d5523429aa967476 1 parent dc2933f
Adrian Holovaty authored July 15, 2005

Showing 1 changed file with 4 additions and 38 deletions. Show diff stats Hide diff stats

  1. 42  django/bin/setup.py
42  django/bin/setup.py
... ...
@@ -1,45 +1,11 @@
1  
-"""
2  
-Usage:
3  
-
4  
-python setup.py bdist
5  
-python setup.py sdist
6  
-"""
  1
+# This doesn't work yet.
7 2
 
8 3
 from 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]
36 4
 
37 5
 setup(
38 6
     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/',
43 9
     author = 'World Online',
44  
-    author_email = 'cms-support@ljworld.com',
  10
+    author_email = 'holovaty@gmail.com',
45 11
 )

0 notes on commit c8cae5b

Please sign in to comment.
Something went wrong with that request. Please try again.