catapela avatar catapela committed df31ddf

0.5.2 - stable - general django dependences in setup removed

Comments (0)

Files changed (3)

src/dynamicLink/version.py

 # -*- coding:utf-8 -*-
 # This Python file uses the following encoding: utf-8
 
-VERSION = (0,5,1)
+VERSION = (0,5,2)
 APPLICATION_NAME = "Dynamic Link"
 VERSION_str = str(VERSION).strip('()').replace(',','.').replace(' ','')
 VERSION_INFO = """
 Hints:
 
 
+- 0.5.2     stable - general django dependences in setup removed
 - 0.5.1     new stable
 - 0.5.0.2   some text in templates changed
 - 0.5.0.1   correct readme and example settings.py
Add a comment to this file

src/dynamicLink/version.pyc

Binary file modified.

 long_description = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
 
 # Build a list with requirements of the app
-REQUIRES = ['django']
+REQUIRES = []
+try:
+    import django
+except ImportError:
+    # Because of the strange update behavior of "pip --upgrade package_name"
+    # set requierment only if django not avallible.
+    REQUIRES.append('django')
+
 if sys.version_info < (2, 4):
     REQUIRES.append('python >= 2.4')
 
+
 setup(name='django-dynamic-link',
         version=VERSION,
         description='A django file streaming application',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.