-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathsetup.py
39 lines (37 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import os
import glob
from setuptools import setup
f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
readme = f.read()
f.close()
setup(
name='openyoudao',
version=0.3,
description='A Youdao client for Linux',
long_description=readme,
author='justzx',
author_email='[email protected]',
url='http://github.com/justzx2011/openyoudao/',
py_modules=['fusionyoudao', 'gl', 'openyoudao', 'webshot'],
data_files = [("/usr/share/applications/", ['desktop/openyoudao.desktop']),
("/usr/share/doc/openyoudao",['LICENSE','README.md']),
("/usr/share/icons/hicolor/scalable/apps",['openyoudao.svg']),
("/usr/share/openyoudao",glob.glob("cache/*.html")),
("/usr/lib/openyoudao",glob.glob("*.py")),
("/usr/share/openyoudao/construction/youdao",['cache/construction/youdao/head.html']),
("/usr/share/openyoudao/css",glob.glob("cache/css/*.css")),
("/usr/share/openyoudao/images/icon/",['cache/images/icon/icon.jpg']),
("/usr/share/openyoudao/images/donate/",['cache/images/donate/alipay.png']),
("/usr/share/openyoudao/js", glob.glob("cache/js/*.js")),
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: GTK',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
],
scripts = ['scripts/openyoudao'],
)