Metadata-Version: 2.4
Name: kotti2_image
Version: 3.0.1
Summary: Image content type for Kotti2 (Python 3.12 + SQLAlchemy 2.0)
Home-page: https://github.com/Kotti/kotti_image
Author: Kotti Developers
Author-email: kotti@googlegroups.com
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
Keywords: kotti kotti2 web cms image
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Framework :: Pylons
Classifier: Framework :: Pyramid
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: License :: Repoze Public License
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
Requires-Dist: Kotti2>=3.0.0
Requires-Dist: Pillow
Requires-Dist: plone.scale
Provides-Extra: testing
Requires-Dist: WebTest; extra == "testing"
Requires-Dist: mock; extra == "testing"
Requires-Dist: Pillow; extra == "testing"
Requires-Dist: pyquery; extra == "testing"
Requires-Dist: pytest>=6.0.0; extra == "testing"
Requires-Dist: pytest-cov; extra == "testing"
Requires-Dist: zope.testbrowser>=5.0.0; extra == "testing"
Provides-Extra: development
Requires-Dist: Kotti[development]; extra == "development"
Requires-Dist: pyramid_debugtoolbar; extra == "development"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

kotti2_image
************

This is an extension to Kotti2 that allows you to add images to your site.

**This package is only compatible with Kotti2 version 3.0.0 and later.**

.. image:: https://img.shields.io/pypi/v/kotti2_image.svg?style=flat-square
    :target: https://pypi.org/project/kotti2_image/
    :alt: PyPI Version

.. image:: https://img.shields.io/pypi/l/kotti2_image.svg?style=flat-square
    :target: http://www.repoze.org/LICENSE.txt
    :alt: License

`Find out more about Kotti2`_

.. _Find out more about Kotti2: https://pypi.org/project/Kotti2/

Setup
=====

To enable the extension in your Kotti2 site::

    pip install kotti2_image

Then activate the configurator in your INI file::

    kotti.configurators =
        kotti_image.kotti_configure

Configuration
=============

The initial release doesn't provide any configuration options.
Custom configuration of image scales will be available in future releases.

Upgrading
=========

If you are upgrading from a previous version you might have to migrate your database.
The migration is performed with `alembic`_ and Kotti's console script ``kotti-migrate``.
To migrate, run ``kotti-migrate <your.ini> upgrade --scripts=kotti_image:alembic`` (or ``kotti-migrate <your.ini> upgrade_all`` to run all Kotti and add on migrations).

For integration of alembic in your environment please refer to the `alembic documentation`_.

Development
===========

Contributions to kotti2_image are highly welcome.

.. _alembic: http://pypi.python.org/pypi/alembic
.. _alembic documentation: http://alembic.readthedocs.org/en/latest/index.html


