forked from ViciousPotato/safaribooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (44 loc) · 1.39 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
"""Safaribooks
Downloads Safari Book Online books using scrapy. Can optionally convert them to .mobi if `kindlegen` is found in PATH.
"""
from setuptools import setup, find_packages
setup(
name='safaribooks',
version='0.1.1',
description='Downloads and converts Safari Book Online books',
long_description=__doc__,
packages=find_packages(),
package_data={
'safaribooks': [
'data/mimetype',
'data/META-INF/container.xml',
'data/OEBPS/content.opf',
'data/OEBPS/toc.ncx',
],
},
install_requires=[
'scrapy>=1.4.0',
'twisted==16.4.1',
'jinja2',
'beautifulsoup4',
],
entry_points={
'console_scripts': {
'safaribooks = safaribooks.__main__:main',
},
},
url='https://github.com/ViciousPotato/safaribooks',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
],
)