Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
executable file 25 lines (19 sloc) 605 Bytes
# This script builds the IMAPClient source distribution inside a
# virtualenv.
# This is needed to work around this issue with setuptools:
# In summary: if a different version of one of the "setup_requires"
# dependencies is globally installed, then setuptools will abort with
# a VersionConflict exception. Building in a virtualenv works around
# the bug.
rm -rf $env
virtualenv $env
. $env/bin/activate
python sdist --formats=zip --dist-dir .
rm -rf $env
# TODO: validation of the source tarball