Replace description to info module name

This commit is contained in:
resteve 2013-04-11 21:33:00 +02:00
parent c4b8a9c622
commit db4427015f
8 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
Installing trytond_ir_module_description
Installing trytond_ir_module_info
========================================
Prerequisites
@ -10,7 +10,7 @@ Prerequisites
Installation
------------
Once you've downloaded and unpacked the trytond_ir_module_description source release, enter the
Once you've downloaded and unpacked the trytond_ir_module_info source release, enter the
directory where the archive was unpacked, and run:
python setup.py install
@ -26,4 +26,4 @@ documentation:
http://docs.python.org/inst/inst.html
To use without installation, extract the archive into ``trytond/modules`` with
the directory name ir_module_description.
the directory name ir_module_info.

4
README
View File

@ -1,7 +1,7 @@
trytond_ir_module_description
trytond_ir_module_info
=============================
The ir_module_description module of the Tryton application platform.
The ir_module_info module of the Tryton application platform.
Installing
----------

View File

@ -1,4 +1,4 @@
#This file is part ir_module_description module for Tryton.
#This file is part ir_module_info module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
@ -8,4 +8,4 @@ from .module import *
def register():
Pool.register(
Module,
module='ir_module_description', type_='model')
module='ir_module_info', type_='model')

View File

@ -1,4 +1,4 @@
#This file is part ir_module_description module for Tryton.
#This file is part ir_module_info module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
from trytond.model import fields

View File

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- This file is part ir_module_description module for Tryton.
<!-- This file is part ir_module_info module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<tryton>
<data>

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python
#This file is part ir_module_description module for Tryton.
#This file is part ir_module_info module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
@ -27,20 +27,20 @@ for dep in info.get('depends', []):
requires.append('trytond >= %s.%s, < %s.%s' %
(major_version, minor_version, major_version, minor_version + 1))
setup(name='trytonzz_ir_module_description',
setup(name='trytonzz_ir_module_info',
version=info.get('version', '0.0.1'),
description='Tryton module to add description from doc in modules list',
author='Zikzakmedia SL',
author_email='zikzak@zikzakmedia.com',
url='http://www.zikzakmedia.com',
download_url="https://bitbucket.org/trytonspain/trytond-ir_module_description",
package_dir={'trytond.modules.ir_module_description': '.'},
download_url="https://bitbucket.org/trytonspain/trytond-ir_module_info",
package_dir={'trytond.modules.ir_module_info': '.'},
packages=[
'trytond.modules.ir_module_description',
'trytond.modules.ir_module_description.tests',
'trytond.modules.ir_module_info',
'trytond.modules.ir_module_info.tests',
],
package_data={
'trytond.modules.ir_module_description': info.get('xml', []) \
'trytond.modules.ir_module_info': info.get('xml', []) \
+ ['tryton.cfg', 'locale/*.po'],
},
classifiers=[
@ -64,7 +64,7 @@ setup(name='trytonzz_ir_module_description',
zip_safe=False,
entry_points="""
[trytond.modules]
ir_module_description = trytond.modules.ir_module_description
ir_module_info = trytond.modules.ir_module_info
""",
test_suite='tests',
test_loader='trytond.test_loader:Loader',

View File

@ -1,5 +1,5 @@
#This file is part ir_module_description module for Tryton.
#This file is part ir_module_info module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
from .test_ir_module_description import suite
from .test_ir_module_info import suite

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python
#This file is part ir_module_description module for Tryton.
#This file is part ir_module_info module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
@ -23,13 +23,13 @@ class ModuleDescriptionTestCase(unittest.TestCase):
'''
def setUp(self):
trytond.tests.test_tryton.install_module('ir_module_description')
trytond.tests.test_tryton.install_module('ir_module_info')
def test0005views(self):
'''
Test views.
'''
test_view('ir_module_description')
test_view('ir_module_info')
def test0006depends(self):
'''