-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
53 lines (42 loc) · 1.48 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#! /usr/bin/env python
#coding=utf-8
from os.path import dirname, join
from setuptools import setup, find_packages
with open(join(dirname(__file__), 'dig/VERSION'), 'rb') as f:
version = f.read().decode('ascii').strip()
setup(
name='dig',
version=version,
author='Gogary',
author_email='[email protected]',
url='https://github.com/enjoyhot/dig',
license='BSD',
description='Command-line tool of [ google, youdao ] translation service.',
long_description=open('README.rst').read(),
install_requires=['docopt==0.6.2','futures>=3.0.3','requests==2.20.0'],
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'dig = dig.cmdline:main',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: End Users/Desktop ',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
print("======================")
print("#######################")
print("# dig version: " + version + " #")
print("#######################")
#packages=['dig'],
#data_files=[('dig', ['dig/VERSION', 'dig/mpg123.exe'])],
#packages=find_packages(exclude=('record.xml')),