Skip to main content

Plugin for zest.releaser to allow putting the created egg in a standard buildout folder

Project description

Introduction

This is a plugin for zest.releaser for being able to automatically copy releases of your products to a local directory.

This can be useful in some special customer environments, for example behind strong firewall and network policies, where reaching an external pypi repository is not simple.

How to use

You must configure your ~/.pypirc file, adding to it a configuration like the one that follow:

[rt.zestreleaser.pypilocal]
pypi-local = ../../pypi-local

In this example next time you will run the fullrelease utility, a folder named pypi-local will be searched two level above the current working directory.

In a common buildout environment this is a normal situation:

buildout-directory
         |
        ...
         |_ pypi-local
        ...
          \_ src
              |
             ...
               \_ your.package

It this way the pypi-local folder will be looked in the buildout directory root.

You can also provide multiple path, or system absolute paths:

[rt.zestreleaser.pypilocal]
pypi-local = ../../pypi-local
global = /opt/global-pypi

For every found match, zest.releaser will ask to you if copy the release in the folder:

....
Register and upload to pypi (y/N)?
Register and upload to plone.org (Y/n)? n
Copy egg to folder /Users/keul/buildout/test/pypi-local (Y/n)? Y
Copy egg to folder /opt/global-pypi (Y/n)?

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

0.2 (2022-12-22)

  • Python3 support. [cekk]

0.1 (2013-01-30)

  • Initial release [keul]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rt.zestreleaser.pypilocal-0.2.tar.gz (13.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page