Skip to content
Browse files
Added a source distribution build script
  • Loading branch information
Menno Smits committed Jul 7, 2015
1 parent 91eea33 commit 5614f9db3ddc035b1a2dc8dcf596b7f83028a225
Showing 1 changed file with 25 additions and 0 deletions.
@@ -0,0 +1,25 @@

# 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

0 comments on commit 5614f9d

Please sign in to comment.