This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
61 lines (52 loc) · 1.69 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
59
60
61
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# pylint: disable=E0602,W0122
"""The setup script."""
from setuptools import setup, find_packages
with open('README.rst', encoding='utf-8') as readme_file:
long_description = '\n' + readme_file.read()
requirements = [
'selenium>=3.8.0',
'Pillow>=4.0.0',
'img2pdf>=0.2.3',
'requests>=2.10.0'
]
setup_requirements = []
test_requirements = []
# Get the data from scribd_dl/version.py without importing the package
exec(compile(open('scribd_dl/version.py').read(), 'version.py', 'exec'))
setup(
author=AUTHOR,
author_email=EMAIL,
classifiers=[
STATUS,
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description="Command-line program to download Scribd documents in pdf format",
install_requires=requirements,
license="MIT license",
long_description=long_description,
packages=find_packages(include=['scribd_dl']),
package_data={
'scribd_dl': ['assets/README.txt', 'version.py']
},
include_package_data=True,
entry_points={
# 'console_scripts': ['scribd-dl = scribd_dl.scribd_dl:main']
'console_scripts': ['scribd-dl = scribd_dl:main']
},
keywords='scribd_dl',
name='scribd_dl',
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/giannisterzopoulos/scribd-dl',
version=VERSION,
zip_safe=False,
)