1. catapela
  2. django-dynamic-link

Commits

catapela  committed df31ddf

0.5.2 - stable - general django dependences in setup removed

  • Participants
  • Parent commits 5f54532
  • Branches default

Comments (0)

Files changed (3)

File src/dynamicLink/version.py

View file
  • Ignore whitespace
 # -*- 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

File src/dynamicLink/version.pyc

  • Ignore whitespace
Binary file modified.

File src/setup.py

View file
  • Ignore whitespace
 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',