mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 11:47:27 -03:00
use subprocess instead of os.system, and gpg-sign releases
This commit is contained in:
parent
1533d490c5
commit
9a75f39bc0
1 changed files with 2 additions and 3 deletions
5
setup.py
5
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(
|
||||
|
|
Loading…
Reference in a new issue