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 4e78217 + 7fe37e2 commit 0ab86c4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions kiratplastics_erpnext/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '1.2.0'
3 changes: 0 additions & 3 deletions kiratplastics_erpnext/__version__.py

This file was deleted.

4 changes: 3 additions & 1 deletion kiratplastics_erpnext/hooks.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from . import __version__ as app_version


app_name = "kiratplastics_erpnext"
app_title = "Kirat Plastics ERPNext"
app_publisher = "MN Technique"
app_description = "ERPNext extensions for Kirat Plastics Pvt. Ltd."
app_icon = "octicon octicon-file-directory"
app_color = "grey"
app_email = "[email protected]"
app_version = "1.1.2"
app_license = "GPL v3"

# Includes in <head>
Expand Down
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from pip.req import parse_requirements
import re, ast

# get version from __version__ variable in erpnext/__init__.py
_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open('kiratplastics_erpnext/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))

version = '1.1.2'
requirements = parse_requirements("requirements.txt", session="")

setup(
Expand Down

0 comments on commit 0ab86c4

Please sign in to comment.