From fb8b4708cf95572bd65b5d0cd35129c574d70c0f Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Mon, 26 Jan 2015 22:27:12 +0100 Subject: [PATCH] prepare 0.4.14; add german translations; fix pypi restructured text; adding credits.rst --- CHANGELOG.rst | 6 ++++++ CREDITS.rst | 10 ++++++++++ MANIFEST.in | 1 + make_pypi_long_description.sh | 2 ++ setup.py | 5 ++++- src/fobi/__init__.py | 4 ++-- 6 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 CREDITS.rst create mode 100755 make_pypi_long_description.sh diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 82993fca..c9cff263 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,12 @@ are used for versioning (schema follows below): 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.4.14 +------------------------------------- +2015-01-26 + +- German translations added. + 0.4.13 ------------------------------------- 2015-01-15 diff --git a/CREDITS.rst b/CREDITS.rst new file mode 100644 index 00000000..6479d29e --- /dev/null +++ b/CREDITS.rst @@ -0,0 +1,10 @@ +Credits +====================== +Authors +---------------------- +- `Artur Barseghyan `_. + +Contributors +---------------------- +- `Maximilian Kindshofer `_ for + German translations. diff --git a/MANIFEST.in b/MANIFEST.in index 3734268d..84454c35 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,6 +6,7 @@ include CHANGELOG.rst #recursive-include src/fobi/locale/hy * recursive-include src/fobi/locale/nl * recursive-include src/fobi/locale/ru * +recursive-include src/fobi/locale/de * # Static files except for the jquery-ui development bundle recursive-include src/fobi/static * diff --git a/make_pypi_long_description.sh b/make_pypi_long_description.sh new file mode 100755 index 00000000..6894053d --- /dev/null +++ b/make_pypi_long_description.sh @@ -0,0 +1,2 @@ +python setup.py --long-description | rst2html.py > builddocs/pypi.html +#python setup.py --long-description | rst2html.py | cat \ No newline at end of file diff --git a/setup.py b/setup.py index 3b0dbb54..72671119 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,10 @@ from setuptools import setup, find_packages try: readme = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() + readme = readme.replace('.. code-block:: none', '.. code-block::') screenshots = open(os.path.join(os.path.dirname(__file__), 'SCREENSHOTS.rst')).read() screenshots = screenshots.replace('.. image:: _static', '.. figure:: https://github.com/barseghyanartur/django-fobi/raw/master/docs/_static') + screenshots = screenshots.replace('.. code-block:: none', '.. code-block::') except: readme = '' screenshots = '' @@ -43,6 +45,7 @@ static_dirs = [ locale_dirs = [ "src/fobi/locale/nl", "src/fobi/locale/ru", + "src/fobi/locale/de", ] templates = [] @@ -58,7 +61,7 @@ for static_dir in static_dirs: for locale_dir in locale_dirs: locale_files += [os.path.join(locale_dir, f) for f in os.listdir(locale_dir)] -version = '0.4.13' +version = '0.4.14' install_requires = [ 'Pillow>=2.0.0', diff --git a/src/fobi/__init__.py b/src/fobi/__init__.py index 5501e6b9..e2f42443 100644 --- a/src/fobi/__init__.py +++ b/src/fobi/__init__.py @@ -1,6 +1,6 @@ __title__ = 'django-fobi' -__version__ = '0.4.13' -__build__ = 0x00001c +__version__ = '0.4.14' +__build__ = 0x00001d __author__ = 'Artur Barseghyan ' __copyright__ = 'Copyright (c) 2014-2015 Artur Barseghyan' __license__ = 'GPL 2.0/LGPL 2.1'