Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install gocept.zestreleaser.customupload

How to install gocept.zestreleaser.customupload

  1. Download and install ActivePython
  2. Buy and install the Business Edition license from account.activestate.com
  3. Open Command Prompt
  4. Type pypm install gocept.zestreleaser.customupload

gocept.zestreleaser.customupload contains builds that are only available via PyPM when you have a current ActivePython Business Edition subscription.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.3
1.3 Available View build log
1.2 Available View build log
1.1.0 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
Windows (64-bit)
1.3
1.3 Available View build log
1.2 Available View build log
1.1.0 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
Mac OS X (10.5+)
1.3
1.3 Available View build log
1.2 Available View build log
1.1.0 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
Linux (32-bit)
1.3
1.3 Available View build log
1.2 Available View build log
1.1.0 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
Linux (64-bit)
1.3
1.3 Available View build log
1.2 Available View build log
1.1.0 Available View build log
1.0.3 Available View build log
1.0.2 Available View build log
 
License
ZPL
Dependencies

This package provides a plugin for zest.releaser that offers to upload the released egg via SCP, SFTP or HTTP(S) 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
gocept.sftp = sftp://repo@repo.gocept.com/home/repo/eggs

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.

Options for HTTP(S) PUT (WebDAV)

HTTP(S) PUT (WebDAV) is implemented using curl to add options to curl, e. g. to disable certificate checks, add the options in front of the URL like this:

[gocept.zestreleaser.customupload]
gocept.special = --insecure https://dav.gocept.com/special

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 Mercurial repository at https://code.gocept.com/hg/public/gocept.zestreleaser.customupload

Please report any bugs you find at https://projects.gocept.com/projects/zestreleaser-customupload

Changelog

1.4 (2012-07-31)
  • If the destination URL contains username and password, do not display the password on the console when asking for upload.
  • Allow options in HTTP(S) PUT (WebDAV) upload.
  • Added some trove classifiers to indicate suported Python versions.
1.3 (2012-05-15)
1.2.1 (2012-05-07)
  • Fixed documentation of SCP 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].

Subscribe to package updates

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.