forked from houtianze/bypy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·57 lines (52 loc) · 1.75 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
54
55
56
57
#!/usr/bin/env python
# coding=utf-8
from setuptools import setup,find_packages
# TODO: make the install clean
import bypy
doclist = bypy.__doc__.split("---")
long_desc = doclist[1].strip() + '\n\n'
try:
import pypandoc
long_desc += pypandoc.convert('HISTORY.md', 'rst')
except Exception as ex:
print("Error: PanDoc not found\n{}".format(ex))
with open('HISTORY.md') as f:
long_desc += f.read()
print(long_desc)
setup(
name='bypy',
version=bypy.__version__,
description='Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘 Python 客户端',
long_description=long_desc,
author='Hou Tianze',
license='MIT',
url='https://github.com/houtianze/bypy',
download_url='https://github.com/houtianze/bypy/tarball/' + bypy.__version__,
packages=find_packages(),
scripts=['bypy', 'bypy.bat', 'bypy.py', 'bypygui.pyw'],
package_data = {
'' : ['*.md']
},
keywords = ['bypy', 'bypy.py', 'baidu pcs', 'baidu yun', 'baidu pan', 'baidu netdisk',
'baidu cloud storage', 'baidu personal cloud storage',
'百度云', '百度云盘', '百度网盘', '百度个人云存储'],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Utilities',
'Topic :: Internet :: WWW/HTTP'],
install_requires = [
'requests',
],
include_package_data=True)
# vim: tabstop=4 noexpandtab shiftwidth=4 softtabstop=4 ff=unix fileencoding=utf-8