You're reading an old version of this documentation. For up-to-date information, please have a look at v0.6.

Configuration

Core aspect of the pymetacode package is the configuration for a package that shall be created/maintained using pymetacode. This configuration can be created initially by issuing the following command:

pymeta write config

This will result in a file package_config.yaml whose content should be adjusted according to your specific needs. Upon creating the package, this file will be copied within the root directory of the new package, to the file .package_config.yaml (mind the leading “.” that renders it hidden in a unixoid context).

The structure of this configuration file is documented below. Most of the fields in the package block resemble the structure of a setup.py file, while the documentation block collects additional settings for the Sphinx configuration residing in the conf.py file in the docs subdirectory of the project.

package:
  name: ''
  author: ''
  author_email: ''
  year: '2021'
  description: ''
  urls:
    main: ''
    documentation: ''
    source: ''
  keywords: []
  install_requires: []
  git: false
documentation:
  logo: ''
  favicon: ''