diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-04-25 00:02:12 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-04-25 00:02:12 +0000 |
| commit | 7534bae0c5eeb34a0146e76a81a9312797f6ba5c (patch) | |
| tree | 15d3fd388eb3c5538c50da20c3691a9f39ca6de3 /docs/narr/project.rst | |
| parent | 51981a128c7ed05e51938a3f358c0970dcc33a6f (diff) | |
| download | pyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.tar.gz pyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.tar.bz2 pyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.zip | |
Merge i18n branch via svn merge --ignore-ancestry -r9030:9150 $REPOZE_SVN/repoze.bfg/branches/i18n
No foreigners were harmed in the coding of this feature.
Diffstat (limited to 'docs/narr/project.rst')
| -rw-r--r-- | docs/narr/project.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 89bc5691b..dfac238b5 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -421,6 +421,7 @@ structure:: | |-- tests.py | `-- views.py |-- MyProject.ini + |-- setup.cfg `-- setup.py The ``MyProject`` :term:`Project` @@ -441,6 +442,9 @@ describe, run, and test your application. #. ``MyProject.ini`` is a :term:`PasteDeploy` configuration file that can be used to execute your application. +#. ``setup.cfg`` is a :term:`setuptools` configuration file used by + ``setup.py``. + #. ``setup.py`` is the file you'll use to test and distribute your application. It is a standard :term:`setuptools` ``setup.py`` file. @@ -633,6 +637,21 @@ tarball to other people who want to use your application. you rerun ``setup.py sdist``, all files checked into the version control system will be included in the tarball. +``setup.cfg`` +~~~~~~~~~~~~~ + +The ``setup.cfg`` file is a :term:`setuptools` configuration file. It +contains various settings related to testing and internationalization: + +Our generated ``setup.cfg`` looks like this: + +.. literalinclude:: MyProject/setup.cfg + :linenos: + +The values in the default setup file allow various commonly-used +internationalization commands and testing commands to work more +smoothly. + .. index:: single: package |
