Skip to main content

Plugin for zest.releaser to allow uploading the created egg via SCP to configurable destinations.

Project description

This package provides a plugin for zest.releaser that offers to upload the released egg via SCP or HTTP PUT (WebDAV) to a custom location (instead of or in addition to PyPI).

To use, add a section to your ~/.pypirc like the following:

[gocept.zestreleaser.customupload]
gocept = scp://download.gocept.com//var/www/packages
gocept.special = http://dav.gocept.com/special

If the name of the package being released starts with one of the keys in that section (longest match wins, case insensitive), you will be prompted whether to upload the egg (that was created by zest.releaser by checking out the tag) to the given server.

Uploading Documentation

In addition to uploading the egg, the plugin also offers to upload generated documentation.

To use this functionality, create a ~/.zestreleaserrc that contains something like the following:

[gocept.zestreleaser.customupload.doc]
gocept = docs.gocept.com:/var/www/doc

If the name of the package being released starts with one of the keys in that section, the plugin will run ./bin/doc to generate the documentation and then prompt to upload the contents of ./build/doc. The upload destination is assembled from the configured prefix, the package name and version. In the example, the upload location would be /var/www/doc/gocept.foo/1.3.

Development

The source code is available in the subversion repository at https://code.gocept.com/svn/gocept/gocept.zestreleaser.customupload

Please report any bugs you find at https://projects.gocept.com/projects/projects/gocept-testing/issues

Changelog

1.2.1 (2012-05-07)

  • Fixed documentation of SFTP upload configuration.

1.2 (2012-01-20)

  • Add second plugin point that builds and uploads documentation

1.1.0 (2011-11-18)

  • Allow uploading via HTTP PUT (WebDAV) [CZ].

1.0.3 (2011-11-11)

1.0.2 (2010-07-22)

  • Upload everything from the dist/ directory, so it works for any egg format, .zip, .tar.gz, .egg, or else [suggestion by maurits@vanrees.org].

1.0.1 (2010-07-22)

  • Added a MANIFEST.in so that the created egg actually works.

1.0 (2010-07-22)

  • first release [WS].

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

gocept.zestreleaser.customupload-1.2.1.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file gocept.zestreleaser.customupload-1.2.1.tar.gz.

File metadata

File hashes

Hashes for gocept.zestreleaser.customupload-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d9fbf1eed85bffad07ae9b8fa4614672db9ec3be17b3c461cd3e42ae828a9d61
MD5 09244648dd81d52f9a9bd1b1640e557d
BLAKE2b-256 36f8143b3511278efd0d1846d66129cc2d122ee0e7abb1ed995bf8920e4a9cb7

See more details on using hashes here.

Supported by

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