-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
executable file
·34 lines (32 loc) · 1018 Bytes
/
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
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='DDict',
version=0.1,
description='A Youdao client for Linux',
long_description=readme,
author='lzjqsdd',
author_email='lzj7179@163.com',
url='http://github.com/lzjqsdd/DDict',
py_modules=['wordutil'],
data_files = [("/usr/share/applications/", ['DDict.desktop']),
("/usr/share/doc/DDict",['LICENSE','README.md']),
("/usr/share/DDict",glob.glob("cache/*.html")),
("/usr/lib/DDict",glob.glob("*.py")),
("/usr/share/DDict/images/icon/",['images/logo.png']),
],
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/DDict'],
)