changelog + version bump + factorize version

This commit is contained in:
kakwa 2017-04-06 20:21:31 +02:00
parent 2e2453f309
commit 8270988ed4
4 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,11 @@
Dev
***
Version 0.5.1
*************
* [impr] cleaner align of labels (input-group-addon width)
Version 0.5.0
*************

View File

@ -33,6 +33,8 @@ sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
sys.path.insert(0, os.path.abspath('..'))
from ldapcherry import version
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@ -64,7 +66,7 @@ copyright = u'2016, Pierre-Francois Carpentier'
#
# The short X.Y version.
# The full version, including alpha/beta/rc tags.
release = '0.5.0'
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@ -35,6 +35,8 @@ from sets import Set
SESSION_KEY = '_cp_username'
version = '0.5.1'
class LdapCherry(object):

View File

@ -17,6 +17,8 @@ data_dir = os.path.join(datarootdir, 'ldapcherry')
config_dir = os.path.join(sysconfdir, 'ldapcherry')
small_description = 'A simple web application to manage Ldap entries'
from ldapcherry import version
# change requirements according to python version
if sys.version_info[0] == 2:
install_requires = [
@ -108,7 +110,7 @@ if as_option_root() or not os.path.exists(
setup(
name='ldapcherry',
zip_safe=False,
version='0.5.0',
version=version,
author='Pierre-Francois Carpentier',
author_email='carpentier.pf@gmail.com',
packages=[