Jelajahi Sumber

Ensure generated package name does not contain spaces; this will make Django easy_installable from the Cheese Shop.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
James Bennett 16 tahun lalu
induk
melakukan
06f89325e1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -72,7 +72,7 @@ if u'SVN' in version:
 
 setup(
     name = "Django",
-    version = version,
+    version = version.replace(' ', '-'),
     url = 'http://www.djangoproject.com/',
     author = 'Django Software Foundation',
     author_email = 'foundation@djangoproject.com',