-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (48 loc) · 1.71 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
58
from setuptools import setup
from gddl import __version__
def read_file(filename,lines=False):
try:
with open(filename,'r', encoding='utf-8') as f:
if(lines):
return [i.strip() for i in f.readlines() if(i.strip())]
return f.read()
except:
print('Can not read file:', filename)
return None
requirements = read_file('requirements.txt', lines=True) # for some reason this does not work when installing from pypi
long_description = read_file('README.md')
setup(
name='gddl',
version=__version__,
author='Ibrahim Rafi',
author_email='[email protected]',
license='MIT',
url='https://github.com/rafiibrahim8/gddl',
download_url = 'https://github.com/rafiibrahim8/gddl/archive/v{}.tar.gz'.format(__version__),
install_requires= ['requests', 'urllib3'],
description='Download files from google drive with resuming capability.',
long_description=long_description,
long_description_content_type='text/markdown',
keywords=['gddl', 'downloader', 'drive', 'google'],
packages=["gddl"],
entry_points=dict(
console_scripts=[
'gddl=gddl.gddl:main'
]
),
platforms=['any'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: End Users/Desktop',
'Topic :: Utilities',
'Topic :: Internet',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)