OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | initialize_options (self) |
def | delete_blockers (self, blockers) |
def | finalize_options (self) |
def | expand_basedirs (self) |
def | expand_dirs (self) |
def | run (self, show_deprecation=True) |
def | pseudo_tempname (self) |
def | warn_deprecated_options (self) |
def | check_site_dir (self) |
def | cant_write_to_target (self) |
def | check_pth_processing (self) |
def | install_egg_scripts (self, dist) |
def | add_output (self, path) |
def | not_editable (self, spec) |
def | check_editable (self, spec) |
def | easy_install (self, spec, deps=False) |
def | install_item (self, spec, download, tmpdir, deps, install_needed=False) |
def | select_scheme (self, name) |
def | process_distribution (self, requirement, dist, deps=True, *info) |
def | should_unzip (self, dist) |
def | maybe_move (self, spec, dist_filename, setup_base) |
def | install_wrapper_scripts (self, dist) |
def | install_script (self, dist, script_name, script_text, dev_path=None) |
def | write_script (self, script_name, contents, mode="t", blockers=()) |
def | install_eggs (self, spec, dist_filename, tmpdir) |
def | egg_distribution (self, egg_path) |
def | install_egg (self, egg_path, tmpdir) |
def | install_exe (self, dist_filename, tmpdir) |
def | exe_to_egg (self, dist_filename, egg_tmp) |
def | install_wheel (self, wheel_path, tmpdir) |
def | installation_report (self, req, dist, what="Installed") |
def | report_editable (self, spec, setup_script) |
def | run_setup (self, setup_script, setup_base, args) |
def | build_and_install (self, setup_script, setup_base) |
def | update_pth (self, dist) |
def | unpack_progress (self, src, dst) |
def | unpack_and_compile (self, egg_path, destination) |
def | byte_compile (self, to_compile) |
def | create_home_path (self) |
![]() | |
def | __init__ (self, dist, **kw) |
def | ensure_string_list (self, option) |
def | reinitialize_command (self, command, reinit_subcommands=0, **kw) |
Static Public Attributes | |
description | |
command_consumes_arguments | |
user_options | |
boolean_options | |
negative_opt | |
create_index | |
INSTALL_SCHEMES | |
posix | |
install_dir | |
script_dir | |
DEFAULT_SCHEME | |
![]() | |
command_consumes_arguments | |
Manage a download/build/install process
def easy_install | ( | self, | |
spec, | |||
deps = False |
|||
) |
def add_output | ( | self, | |
path | |||
) |
def build_and_install | ( | self, | |
setup_script, | |||
setup_base | |||
) |
def byte_compile | ( | self, | |
to_compile | |||
) |
def cant_write_to_target | ( | self | ) |
def check_editable | ( | self, | |
spec | |||
) |
def check_pth_processing | ( | self | ) |
Empirically verify whether .pth files are supported in inst. dir
def check_site_dir | ( | self | ) |
Verify that self.install_dir is .pth-capable dir, if needed
def create_home_path | ( | self | ) |
Create directories under ~.
def delete_blockers | ( | self, | |
blockers | |||
) |
def egg_distribution | ( | self, | |
egg_path | |||
) |
def exe_to_egg | ( | self, | |
dist_filename, | |||
egg_tmp | |||
) |
Extract a bdist_wininst to the directories an egg would use
def expand_basedirs | ( | self | ) |
Calls `os.path.expanduser` on install_base, install_platbase and root.
def expand_dirs | ( | self | ) |
Calls `os.path.expanduser` on install dirs.
def finalize_options | ( | self | ) |
Reimplemented in develop.
def initialize_options | ( | self | ) |
Reimplemented in develop.
def install_egg | ( | self, | |
egg_path, | |||
tmpdir | |||
) |
def install_egg_scripts | ( | self, | |
dist | |||
) |
Write all the scripts for `dist`, unless scripts are excluded
Reimplemented in develop.
def install_eggs | ( | self, | |
spec, | |||
dist_filename, | |||
tmpdir | |||
) |
def install_exe | ( | self, | |
dist_filename, | |||
tmpdir | |||
) |
def install_item | ( | self, | |
spec, | |||
download, | |||
tmpdir, | |||
deps, | |||
install_needed = False |
|||
) |
def install_script | ( | self, | |
dist, | |||
script_name, | |||
script_text, | |||
dev_path = None |
|||
) |
Generate a legacy script wrapper and install it
def install_wheel | ( | self, | |
wheel_path, | |||
tmpdir | |||
) |
def install_wrapper_scripts | ( | self, | |
dist | |||
) |
Reimplemented in develop.
def installation_report | ( | self, | |
req, | |||
dist, | |||
what = "Installed" |
|||
) |
Helpful installation message for display to package users
def maybe_move | ( | self, | |
spec, | |||
dist_filename, | |||
setup_base | |||
) |
def not_editable | ( | self, | |
spec | |||
) |
def process_distribution | ( | self, | |
requirement, | |||
dist, | |||
deps = True , |
|||
* | info | ||
) |
def pseudo_tempname | ( | self | ) |
Return a pseudo-tempname base in the install directory. This code is intentionally naive; if a malicious party can write to the target directory you're already in deep doodoo.
def report_editable | ( | self, | |
spec, | |||
setup_script | |||
) |
def run | ( | self, | |
show_deprecation = True |
|||
) |
def run_setup | ( | self, | |
setup_script, | |||
setup_base, | |||
args | |||
) |
def select_scheme | ( | self, | |
name | |||
) |
Sets the install directories by applying the install schemes.
def should_unzip | ( | self, | |
dist | |||
) |
def unpack_and_compile | ( | self, | |
egg_path, | |||
destination | |||
) |
def unpack_progress | ( | self, | |
src, | |||
dst | |||
) |
def update_pth | ( | self, | |
dist | |||
) |
def warn_deprecated_options | ( | self | ) |
def write_script | ( | self, | |
script_name, | |||
contents, | |||
mode = "t" , |
|||
blockers = () |
|||
) |
Write an executable file to the scripts directory
all_site_dirs |
allow_hosts |
always_copy |
always_copy_from |
args |
|
static |
build_directory |
|
static |
config_vars |
|
static |
|
static |
|
static |
Manage a download/build/install process
editable |
exclude_scripts |
find_links |
index_url |
install_base |
install_data |
|
static |
install_headers |
install_lib |
install_platbase |
install_platlib |
install_purelib |
|
static |
install_scripts |
install_userbase |
install_usersite |
installed_projects |
local_index |
local_snapshots_ok |
multi_version |
|
static |
no_deps |
no_find_links |
no_report |
optimize |
outputs |
package_index |
|
static |
prefix |
pth_file |
record |
root |
|
static |
shadow_path |
site_dirs |
upgrade |
user |
|
static |
verbose |
version |
zip_ok |