remove pypi publishing stuff

This commit is contained in:
Micah Lee 2014-06-20 00:02:58 -04:00
parent 785078957e
commit 29a269253a

View File

@ -1,17 +1,14 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os, sys, subprocess, platform
import os, sys, platform
from glob import glob
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
subprocess.call(['python', 'setup.py', 'sdist', 'upload', '--sign'])
sys.exit()
version = open('version').read().strip()
args = {}
@ -32,7 +29,7 @@ if platform.system() == 'Darwin':
elif platform.system() == 'Windows':
pass
else:
args['data_files'] = [
('/usr/share/applications', ['setup/onionshare.desktop']),
@ -57,4 +54,5 @@ setup(
],
packages=['onionshare', 'onionshare_gui'],
**args
)
)