forked from aerkalov/ebooklib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (34 loc) · 1.23 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
import io
import re
from setuptools import setup
def read(path):
with io.open(path, mode="r", encoding="utf-8") as fd:
content = fd.read()
# Convert Markdown links to reStructuredText links
return re.sub(r"\[([^]]+)\]\(([^)]+)\)", r"`\1 <\2>`_", content)
setup(
name = 'EbookLib',
version = '0.17.1',
author = 'Aleksandar Erkalovic',
author_email = 'aerkalov@gmail.com',
packages = ['ebooklib', 'ebooklib.plugins'],
url = 'https://github.com/aerkalov/ebooklib',
license = 'GNU Affero General Public License',
description = 'Ebook library which can handle EPUB2/EPUB3 and Kindle format',
long_description = read('README.md'),
keywords = ['ebook', 'epub', 'kindle'],
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Python Modules"
],
install_requires = [
"lxml", "six"
]
)