From 9a75f39bc012a50bb9997b15edfdbb1b21fbf84f Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sat, 24 May 2014 21:36:59 -0400 Subject: [PATCH] use subprocess instead of os.system, and gpg-sign releases --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index b8722c88..ee02285e 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import os -import sys +import os, sys, subprocess try: from setuptools import setup @@ -10,7 +9,7 @@ except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': - os.system('python setup.py sdist upload') + subprocess.call('python setup.py sdist upload --sign') sys.exit() setup(