mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-03 01:50:11 -05:00
remove pypi publishing stuff
This commit is contained in:
parent
785078957e
commit
29a269253a
12
setup.py
12
setup.py
@ -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
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user