pydmt package

Subpackages

Submodules

pydmt.configs module

class pydmt.configs.ConfigApt[source]

Bases: Config

Parameters to configure how we run apt

apt_quiet = False
class pydmt.configs.ConfigFlow[source]

Bases: Config

Parameters to configure the flow of pydmt

stop_after_error = True
class pydmt.configs.ConfigImport[source]

Bases: Config

Configure how to set PYTHONPATH

import_cwd = True
import_home = False
import_system = False
class pydmt.configs.ConfigLogging[source]

Bases: Config

Parameters to control logging

loglevel = 'INFO'
class pydmt.configs.ConfigOutput[source]

Bases: Config

Parameters to configure the output of pydmt

print_not = False
verbose = True
class pydmt.configs.ConfigReqs[source]

Bases: Config

Parameters to configure addgin requirements

reqs_add_dev = False
class pydmt.configs.ConfigSubprocess[source]

Bases: Config

Parameters to configure how we run subprocess

print_command = False
quiet = False
class pydmt.configs.ConfigSudo[source]

Bases: Config

Parameters to control whether we use ‘sudo’ or not

sudo = True
class pydmt.configs.ConfigVenv[source]

Bases: Config

Parameters to configure how to create virtual environments

add_dev = False
incremental = True
system_site_packages = False
upgrade_pip = True

pydmt.main module

pydmt.main.add_all_features(p)[source]

This method should be automatic, order matters here which is not good, order should be derived and not set in stone

pydmt.main.add_to_path()[source]

This adds to PYTHONPATH various paths we need If you disable this then templates would not be able to find things like ‘config/python.py’

pydmt.main.build()[source]
pydmt.main.build_reqs()[source]
pydmt.main.build_tools()[source]
pydmt.main.build_venv()[source]
pydmt.main.check_config_and_load()[source]
pydmt.main.clean() None[source]
pydmt.main.clean_hard() None[source]
pydmt.main.main()[source]

pydmt.static module

version which can be consumed from within the module

Module contents