forked from wkentaro/gdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·47 lines (39 loc) · 1.16 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
#!/usr/bin/env python
from __future__ import print_function
from setuptools import find_packages
from setuptools import setup
import shlex
import subprocess
import sys
version = '3.6.0'
# release helper
if sys.argv[-1] == 'release':
commands = [
'python setup.py sdist upload',
'git tag v{0}'.format(version),
'git push origin master --tag',
]
for cmd in commands:
subprocess.check_call(shlex.split(cmd))
sys.exit(0)
setup(
name='gdown',
version=version,
packages=find_packages(),
install_requires=['requests', 'six', 'tqdm'],
description='Google Drive direct download of big files.',
long_description=open('README.md').read(),
author='Kentaro Wada',
author_email='[email protected]',
url='http://github.com/wkentaro/gdown',
license='MIT',
keywords='utility',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
],
entry_points={'console_scripts': ['gdown=gdown.cli:main']},
)