Commits

Gregory Petukhov committed d2322be

Change method of changing sys.path in common.system module

  • Participants
  • Parent commits cae5c60

Comments (0)

Files changed (3)

     if relpath:
         ROOT = os.path.join(ROOT, relpath)
     os.chdir(ROOT)
-    sys.path.append(ROOT)
+    sys.path.insert(0, ROOT)
     os.environ['DJANGO_SETTINGS_MODULE'] = module
 
     from django.conf import settings
 PARENT = os.path.dirname(ROOT)
 
 # Import version from setup.py script
-sys.path.insert(0, PARENT)
-from setup import VERSION
+#sys.path.insert(0, PARENT)
+#from setup import VERSION
 
 # Setup simple django project for correct importing the modules by autodoc extension
 sys.path.insert(0, ROOT)
 # built documents.
 #
 # The short X.Y version.
-version = VERSION
+version = '0.0'#VERSION
 # The full version, including alpha/beta/rc tags.
-release = VERSION
+release = '0.0'#VERSION
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 setup(
     name = 'django-common',
     description = 'A number of useful django shortcuts and helpers',
-    version = '0.1.48',
+    version = '0.1.49',
     author = 'Grigoriy Petukhov',
     author_email = 'lorien@lorien.name',
     url = 'http://bitbucket.org/lorien/django-common/',