1
by Mutse Young
first commit |
1 |
#!/usr/bin/env python
|
2 |
import os, sys, glob |
|
3 |
from setuptools import setup, find_packages |
|
4 |
try: |
|
5 |
from webkit import * |
|
6 |
except ImportError: |
|
7 |
print 'Cannot install Kugou :(' |
|
8 |
print 'Would you please install package "python-webkit" first?' |
|
9 |
sys.exit() |
|
10 |
||
11 |
setup(name = 'Kugou Music', |
|
12 |
description = 'Kugou Music online Player', |
|
6
by Mutse Young
add a system tray & fix the size of the app |
13 |
version = '1.0.1', |
1
by Mutse Young
first commit |
14 |
maintainer = 'Mutse Young', |
15 |
maintainer_email = 'yyhoo2.young@gmail.com', |
|
16 |
url = 'http://mutse.blogbus.com/', |
|
17 |
packages = find_packages(), |
|
3
by Mutse Young
add kugou dir and modify setup.py |
18 |
scripts = ['kugou/kugou'], |
1
by Mutse Young
first commit |
19 |
include_package_data = True, |
20 |
data_files=[ |
|
5
by Mutse Young
removed kugou.png and kugou.desktop to data |
21 |
('/usr/local/share/icons/', glob.glob('data/kugou.png')), |
22 |
('/usr/local/share/applications/', glob.glob('data/kugou.desktop')), |
|
1
by Mutse Young
first commit |
23 |
],
|
24 |
license='GNU GPL', |
|
25 |
platforms='linux', |
|
5
by Mutse Young
removed kugou.png and kugou.desktop to data |
26 |
)
|
27 |