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 details)

Uploaded Source

File details

Details for the file rt.zestreleaser.pypilocal-0.2.tar.gz.

File metadata

  • Download URL: rt.zestreleaser.pypilocal-0.2.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for rt.zestreleaser.pypilocal-0.2.tar.gz
Algorithm Hash digest
SHA256 c9462aedfe9d4276b279f711f4da8fbf37f56231f1e2d19c1c4afabcf36ee6bd
MD5 ada1e244eb24799a2509540be4bf084d
BLAKE2b-256 e197d4160503c1ebc22a8373a292400be5c4f837f0ed2a46d500968df6f84ded

See more details on using hashes here.

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