Commits

Andy Mikhailenko committed a7edae4

BUGFIX: things re package version were messed up.

  • Participants
  • Parent commits 16132f7

Comments (0)

Files changed (3)

 # All configuration values have a default; values that are commented out
 # serve to show the default.
 
+VERSION = '1.3.4'
+
 import sys, os
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 sys.path.insert(0, os.path.abspath('..'))
-from version import version
 
 from django.conf import settings
 settings.configure()
 # built documents.
 #
 # The short X.Y version.
-version = '.'.join(version.split('.')[:2])
+version = '.'.join(VERSION.split('.')[:2])
 # The full version, including alpha/beta/rc tags.
 release = version
 
 
 import os
 from setuptools import setup
-from version import version
 
 
 readme = open(os.path.join(os.path.dirname(__file__), 'README')).read()
 
 setup(
     name     = 'django-autoslug',
-    version  = version,
+    version  = '1.3.4',
     packages = ['autoslug'],
 
     requires = ['python (>= 2.4)', 'django (>= 1.0)'],

File version.py

-# -*- coding: utf-8 -*-
-
-version = '1.3.3'