keep version in separate file
This commit is contained in:
parent
76e48b5c3f
commit
8e0438bad4
@ -1 +1 @@
|
|||||||
__version__ = '4.0.2'
|
from erpnext.__version__ import __version__
|
||||||
|
1
erpnext/__version__.py
Normal file
1
erpnext/__version__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
__version__ = '4.0.2'
|
@ -1,10 +1,11 @@
|
|||||||
|
from erpnext.__version__ import __version__
|
||||||
app_name = "erpnext"
|
app_name = "erpnext"
|
||||||
app_title = "ERPNext"
|
app_title = "ERPNext"
|
||||||
app_publisher = "Web Notes Technologies Pvt. Ltd. and Contributors"
|
app_publisher = "Web Notes Technologies Pvt. Ltd. and Contributors"
|
||||||
app_description = "Open Source Enterprise Resource Planning for Small and Midsized Organizations"
|
app_description = "Open Source Enterprise Resource Planning for Small and Midsized Organizations"
|
||||||
app_icon = "icon-th"
|
app_icon = "icon-th"
|
||||||
app_color = "#e74c3c"
|
app_color = "#e74c3c"
|
||||||
app_version = "4.0.0-wip"
|
app_version = __version__
|
||||||
|
|
||||||
app_include_js = "assets/js/erpnext.min.js"
|
app_include_js = "assets/js/erpnext.min.js"
|
||||||
app_include_css = "assets/css/erpnext.css"
|
app_include_css = "assets/css/erpnext.css"
|
||||||
|
5
setup.py
5
setup.py
@ -1,14 +1,13 @@
|
|||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
from erpnext.__version__ import __version__
|
||||||
import os
|
import os
|
||||||
|
|
||||||
version = '4.0.2'
|
|
||||||
|
|
||||||
with open("requirements.txt", "r") as f:
|
with open("requirements.txt", "r") as f:
|
||||||
install_requires = f.readlines()
|
install_requires = f.readlines()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='erpnext',
|
name='erpnext',
|
||||||
version=version,
|
version=__version__,
|
||||||
description='Open Source ERP',
|
description='Open Source ERP',
|
||||||
author='Web Notes Technologies',
|
author='Web Notes Technologies',
|
||||||
author_email='info@erpnext.com',
|
author_email='info@erpnext.com',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user