Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed Jun 20, 2016
2 parents 7c86bda + e87f600 commit def9f7b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions civil_contracting/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from __future__ import unicode_literals

__version__ = '1.5.0'
2 changes: 0 additions & 2 deletions civil_contracting/__version__.py

This file was deleted.

3 changes: 2 additions & 1 deletion civil_contracting/hooks.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
from . import __version__ as app_version

app_name = "civil_contracting"
app_title = "Civil Contracting"
app_publisher = "Revant Nandgaonkar"
app_description = "App for Civil Contracting Enterprises"
app_icon = "octicon octicon-zap"
app_color = "grey"
app_email = "revant.one@gmail.com"
app_version = "1.4.0"
app_license = "GPL v2"

# Includes in <head>
Expand Down
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
from setuptools import setup, find_packages
import os

version = '1.4.0'
import re, ast

# get version from __version__ variable in app's/__init__.py
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('civil_contracting/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))

setup(
name='civil_contracting',
Expand Down

0 comments on commit def9f7b

Please # to comment.