Skip to content

Commit

Permalink
Renamed tests into examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Pettarin committed Mar 4, 2015
1 parent 510650d commit 8a6435c
Show file tree
Hide file tree
Showing 58 changed files with 68 additions and 67 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

**yael** (Yet Another EPUB Library) is a Python library for reading, manipulating, and writing EPUB 2/3 files.

* Version: 0.0.7
* Date: 2015-03-02
* Version: 0.0.8
* Date: 2015-03-04
* Developer: [Alberto Pettarin](http://www.albertopettarin.it/) ([contact](http://www.albertopettarin.it/contact.html))
* License: the MIT License (MIT)

Expand Down Expand Up @@ -58,9 +58,9 @@ if cover_image != None:
```

See
[`test/publication_test.py`](test/publication_test.py),
[`test/simpleepub_test.py`](test/simpleepub_test.py), and
[`test/epub_to_gv.py`](test/epub_to_gv.py)
[`yael/examples/publication_examples.py`](yael/examples/publication_example.py),
[`yael/examples/simpleepub_examples.py`](yael/examples/simpleepub_example.py), and
[`yael/examples/epub_to_gv.py`](yael/examples/epub_to_gv.py)
for more complex, commented examples.


Expand Down
13 changes: 7 additions & 6 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ yael
**yael** (Yet Another EPUB Library) is a Python library for reading,
manipulating, and writing EPUB 2/3 files.

- Version: 0.0.7
- Date: 2015-03-02
- Version: 0.0.8
- Date: 2015-03-04
- Developer: `Alberto Pettarin <http://www.albertopettarin.it/>`__
(`contact <http://www.albertopettarin.it/contact.html>`__)
- License: the MIT License (MIT)
Expand Down Expand Up @@ -60,10 +60,11 @@ Usage
output_file.close()
print("Cover image extracted to '/tmp/extracted_cover.jpg' ...")

See ```test/publication_test.py`` <test/publication_test.py>`__,
```test/simpleepub_test.py`` <test/simpleepub_test.py>`__, and
```test/epub_to_gv.py`` <test/epub_to_gv.py>`__ for more complex,
commented examples.
See
```yael/examples/publication_examples.py`` <yael/examples/publication_example.py>`__,
```yael/examples/simpleepub_examples.py`` <yael/examples/simpleepub_example.py>`__,
and ```yael/examples/epub_to_gv.py`` <yael/examples/epub_to_gv.py>`__
for more complex, commented examples.

Documentation
-------------
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.7
0.0.8
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# The short X.Y version.
version = '0.1'
# The full version, including alpha/beta/rc tags.
release = '0.0.7'
release = '0.0.8'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion editversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main():
},
{
"directory": True,
"path": "test/",
"path": "yael/examples/",
"pattern": r"__version__ = \"([0-9]+\.[0-9]+\.[0-9]+)\""
},
]
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

setup(
name='yael',
packages=['yael'],
version='0.0.7',
packages=['yael', 'yael.examples'],
version='0.0.8',
description='yael (Yet Another EPUB Library) is a Python library for reading, manipulating, and writing EPUB 2/3 files.',
author='Alberto Pettarin',
author_email='[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion yael/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"
2 changes: 1 addition & 1 deletion yael/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/dc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/encdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/enckey.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/epub.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/epub_to_gv.py → yael/examples/epub_to_gv.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/jsonable.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/manifestation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/marcrelator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/mediatype.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/moaudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/modocument.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/mopar.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/moseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/motext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/navdocument.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/navelement.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/navnode.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/ncxtoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/ncxtocnode.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/obfuscation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/opfdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/opfguide.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/opfitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/opfitemref.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/opflink.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
2 changes: 1 addition & 1 deletion yael/opfmanifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
__author__ = "Alberto Pettarin"
__copyright__ = "Copyright 2015, Alberto Pettarin (www.albertopettarin.it)"
__license__ = "MIT"
__version__ = "0.0.7"
__version__ = "0.0.8"
__email__ = "[email protected]"
__status__ = "Development"

Expand Down
Loading

0 comments on commit 8a6435c

Please sign in to comment.