Skip to main content

zc.buildout recipe that creates a file with list of external libraries for PyCharm of IntelliJ IDEA.

Project description

cykooz.recipe.idea

This recipe for buildout creates a .idea/libraries/Buildout_Eggs.xml file. This file may be used by PyCharm (or IntelliJ IDEA) as list of external libraries and contains paths to all the specified eggs and their dependencies.

Usage

This is a minimal buildout.cfg file which creates a xml-file with paths to eggs:

[buildout]
parts =
    application
    idea

[application]
recipe = zc.recipe.egg:scripts
eggs =
    my_application
    ipython

[idea]
recipe = cykooz.recipe.idea
eggs =
    ${application:eggs}

Available options

eggs

The eggs that will be used to generate a file with paths. You don’t need to include transitive dependencies. This is done automatically.

idea_dir

Path to directory of PyCharm project. Default: ${buildout:directory}/.idea The recipe won’t create any files or directories if given directory is absent or it not contains .iml file.

include_develop

Set it as true if you need to add paths to develop packages. Default: false.

include_eggs

Set it as false if you need to exclude paths to the specified eggs. Default: true.

include_other

Set it as true if you need to add paths to other directories that contains required packages or it dependencies but that was installed not by zc.buildout. For example path to site-packages directory from used Python. Default: false.

extra-paths

Extra paths to include in a generated xml file.

Changes

0.4 (2022-04-29)

  • Added support of Windows (GH-1).

  • Added support of zc.buildout 3+ into tests.

0.3 (2021-12-14)

  • Added support of Python 3.6 and 3.7.

0.2 (2021-12-08)

  • First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cykooz.recipe.idea-0.4.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

cykooz.recipe.idea-0.4-py2.py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page