-
Notifications
You must be signed in to change notification settings - Fork 234
/
setup.py
42 lines (36 loc) · 1.33 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
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.18',
author = 'Aleksandar Erkalovic',
author_email = '[email protected]',
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'),
long_description_content_type = 'text/markdown',
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",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries :: Python Modules"
],
install_requires = [
"lxml", "six"
]
)