Skip to content

Instantly share code, notes, and snippets.

from devpi_common.types import ensure_unicode
from devpi_server.log import threadlog as log
from devpi_server.main import get_pluginmanager
from devpi_server.main import _main
from devpi_web.indexing import preprocess_project
from devpi_web.main import get_indexer
import sys
import time
from devpi_server.log import threadlog as log
from devpi_server.main import get_pluginmanager
from devpi_server.main import _main
import sys
def main():
pm = get_pluginmanager()
pm.register(Plugin())
_main(pm, sys.argv)
MIT License
Copyright (c) 2020 Florian Schulze
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
from devpi_server.filestore import FileEntry
from devpi_server.main import get_pluginmanager
from devpi_server.main import _main
from pluggy import HookimplMarker
import sys
hookimpl = HookimplMarker("devpiserver")