LHCb PyPI server

LHCb has its own instance of a PyPI server hosted EOS. If you want to browse the packages, you can do it via a web browser at https://lhcb-pypi.web.cern.ch/.

To install from the repository

To deploy code to the PyPI repository

  • If you want to deploy a new packaged project (with a setup.py file):

    python setup.py sdist and python setup.py bdist_wheelfrom your project root folder and then copy the files from dist folder to /eos/project/l/lhcbwebsites/www/lhcb-pypi/pool/[project name]/.

  • A cronjob running each minute will create the metainfo required by pip client.

  • If you want to runt the meta-info generation manually, please execute /cvmfs/lhcbdev.cern.ch/tools/pypiMetainfoTools/regenerateStaticFiles.sh from a machine that has EOS, CVMFS access as well as Graphviz installed


This topic: LHCb > WebHome > LHCbComputing > PythonPyPIServer
Topic revision: r8 - 2018-10-15 - unknown
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback