Andy Mikhailenko avatar Andy Mikhailenko committed a7edae4

BUGFIX: things re package version were messed up.

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)'],

version.py

-# -*- coding: utf-8 -*-
-
-version = '1.3.3'
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.