mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-03-16 21:30:23 +00:00
Changes __version__ for PEP 396 compliance.
This commit is contained in:
parent
f597a72ee1
commit
ef36e56fe7
3 changed files with 6 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
__version__ = (1, 1, 0)
|
||||
version_string = '.'.join(str(n) for n in __version__)
|
||||
VERSION = (1, 1, 0)
|
||||
__version__ = '.'.join(map(str, VERSION))
|
||||
|
||||
default_app_config = 'cachalot.apps.CachalotConfig'
|
||||
|
|
|
|||
|
|
@ -65,9 +65,9 @@ copyright = '2014-2015, Bertrand Bordage'
|
|||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '%s.%s' % cachalot.__version__[:2]
|
||||
version = '%s.%s' % cachalot.VERSION[:2]
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = cachalot.version_string
|
||||
release = cachalot.__version__
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import os
|
||||
from setuptools import setup, find_packages
|
||||
from cachalot import version_string
|
||||
from cachalot import __version__
|
||||
|
||||
|
||||
CURRENT_PATH = os.path.abspath(os.path.dirname(__file__))
|
||||
|
|
@ -13,7 +13,7 @@ with open(os.path.join(CURRENT_PATH, 'requirements.txt')) as f:
|
|||
|
||||
setup(
|
||||
name='django-cachalot',
|
||||
version=version_string,
|
||||
version=__version__,
|
||||
author='Bertrand Bordage',
|
||||
author_email='bordage.bertrand@gmail.com',
|
||||
url='https://github.com/BertrandBordage/django-cachalot',
|
||||
|
|
|
|||
Loading…
Reference in a new issue