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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file cykooz.recipe.idea-0.4.tar.gz.

File metadata

  • Download URL: cykooz.recipe.idea-0.4.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.11

File hashes

Hashes for cykooz.recipe.idea-0.4.tar.gz
Algorithm Hash digest
SHA256 74741f82cc913e1b1270b0e3153527f73ec601cb2bcb18a64d8059c627455c8d
MD5 cf156ffa3c02acf65f48f76e4df8b84c
BLAKE2b-256 b88428d1bac955672c75635f01aa438f025ff189e99c4fef2767a487766a60d9

See more details on using hashes here.

File details

Details for the file cykooz.recipe.idea-0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cykooz.recipe.idea-0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 440041784e836c98014ac4c31db95f8045322b10bfd40f0cc9d1e244de7bcf72
MD5 8d47925e4f316ecfce12974f18a25849
BLAKE2b-256 4a9b5702ee6c63a6d45f32317340d42bc32b3eac3638b3cfc8ab8c6d55888daf

See more details on using hashes here.

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