Metadata-Version: 2.4
Name: django-tomler
Version: 0.1.3
Summary: A Django app that generates pyproject.toml automatically based on your project.
Author: Ilia Roozban
License-Expression: MIT
Project-URL: Homepage, https://github.com/IL1RO3/django-tomler
Project-URL: Repository, https://github.com/IL1RO3/django-tomler
Project-URL: Issues, https://github.com/IL1RO3/django-tomler/issues
Project-URL: Documentation, https://github.com/IL1RO3/django-tomler/blob/main/README.md
Keywords: django,pyproject,toml,packaging,dependencies
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: Framework :: Django :: 6.0
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.12
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: Django>=4.2
Provides-Extra: docs
Requires-Dist: Sphinx>=7; extra == "docs"
Dynamic: license-file

=============
django-tomler
=============

django-tomler is a Django app that generates a ``pyproject.toml`` file
automatically based on your project. It scans your installed apps, maps
them to their installed distributions and writes out a valid
``pyproject.toml`` with build-system, project metadata and dependencies.
Django's bundled apps (``django.*``) and django-tomler itself are excluded.

Detailed documentation is in the "docs" directory.

Requirements
------------

* Python 3.12+
* Django 4.2+

Quick start
-----------

1. Add "django_tomler" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...,
        "django_tomler.apps.TomlerConfig",
    ]

2. Run the generator from your project root (next to ``manage.py``)::

    python manage.py tomler

3. A ``pyproject.toml`` is written to your current directory. Use
   ``--dry-run`` to preview it first, and ``--help`` to see all options
   (custom name, version, description, output path).

Running the tests
-----------------

::

    python runtests.py
