Update README, INSTALL and MANIFEST.in

This commit is contained in:
Sharoon Thomas 2013-01-20 17:46:07 +05:00
parent 71c39be1d3
commit 059e9fc62e
3 changed files with 72 additions and 6 deletions

29
INSTALL Normal file
View File

@ -0,0 +1,29 @@
Installing trytond_nereid
=========================
Prerequisites
-------------
* Python 2.6 or later (http://www.python.org/)
* trytond_company (http://www.tryton.org/)
Installation
------------
Once you've downloaded and unpacked the trytond_nereid source release, enter
the directory where the archive was unpacked, and run:
python setup.py install
Note that you may need administrator/root privileges for this step, as
this command will by default attempt to install module to the Python
site-packages directory on your system.
For advanced options, please refer to the easy_install and/or the distutils
documentation:
http://peak.telecommunity.com/DevCenter/EasyInstall
http://docs.python.org/inst/inst.html
To use without installation, extract the archive into ``trytond/modules`` with
the directory name stock.

12
MANIFEST.in Normal file
View File

@ -0,0 +1,12 @@
include INSTALL
include README
include TODO
include COPYRIGHT
include CHANGELOG
include LICENSE
include tryton.cfg
include *.xml
include *.odt
include locale/*.po
include doc/*
include tests/*.rst

View File

@ -1,5 +1,30 @@
Using Babel to translate nereid
===============================
trytond-nereid
==============
This is the base module required for `Nereid <http://nereid.openlabs.co.in>`_
to work. The module creates the models and the `tryton <http://trytond.org>`_
views for the basic module to work.
.. image:: https://travis-ci.org/openlabs/trytond-nereid.png?branch=feature/2.6
Copyright
---------
Read COPYRIGHT
License
-------
GPL3 - Read LICENSE
Installation
------------
Read INSTALL
Using Babel to translate trytond-nereid
---------------------------------------
The basic steps in translation are:
@ -9,13 +34,13 @@ The basic steps in translation are:
* compile the translations
To extract translations
-----------------------
```````````````````````
pybabel extract -F babel.cfg -o i18n/messages.pot .
To Translate to new language
----------------------------
`````````````````````````````
pybabel init -i i18n/messages.pot -d i18n -l pt_BR
@ -25,14 +50,14 @@ Check out some gettext tutorials if you feel lost.
To compile the translations for use
-----------------------------------
```````````````````````````````````
pybabel compile -d i18n
What if the strings change?
----------------------------
```````````````````````````
pybabel update -i i18n/messages.pot -d i18n