fixed setup.py after ripping out windows and osx

This commit is contained in:
Micah Lee 2014-06-26 12:05:01 -04:00
parent 740ef0c84f
commit bce8ecd4b0

View File

@ -17,16 +17,6 @@ def file_list(path):
return files return files
version = open('version').read().strip() version = open('version').read().strip()
args = {}
else:
args['packages'] = ['onionshare', 'onionshare_gui']
args['include_package_data'] = True
args['scripts'] = ['bin/onionshare', 'bin/onionshare-gui']
args['data_files'] = [
('/usr/share/applications', ['setup/onionshare.desktop']),
('/usr/share/pixmaps', ['setup/onionshare80.xpm'])
]
setup( setup(
name='onionshare', name='onionshare',
@ -38,6 +28,12 @@ setup(
url='https://github.com/micahflee/onionshare', url='https://github.com/micahflee/onionshare',
license="GPL v3", license="GPL v3",
keywords='onion, share, onionshare, tor, anonymous, web server', keywords='onion, share, onionshare, tor, anonymous, web server',
**args packages=['onionshare', 'onionshare_gui'],
include_package_data=True,
scripts=['bin/onionshare', 'bin/onionshare-gui'],
data_files=[
('/usr/share/applications', ['setup/onionshare.desktop']),
('/usr/share/pixmaps', ['setup/onionshare80.xpm'])
]
) )