-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup_inc.py
110 lines (90 loc) · 2.59 KB
/
setup_inc.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#
# epubmaker common setup all flavors
#
VERSION = '0.3.26'
package_dir = {
'epubmaker': 'epubmaker',
}
install_requires = [
'roman',
'docutils >= 0.8.1, <0.13',
'lxml >= 2.3',
'cssutils >= 0.9.8a1',
'pillow',
]
pypi_packages = [
'epubmaker.parsers',
'epubmaker.packagers',
'epubmaker.writers',
'epubmaker.mydocutils',
'epubmaker.mydocutils.parsers',
'epubmaker.mydocutils.transforms',
'epubmaker.mydocutils.writers',
'epubmaker.mydocutils.gutenberg',
'epubmaker.mydocutils.gutenberg.parsers',
'epubmaker.mydocutils.gutenberg.transforms',
'epubmaker.mydocutils.gutenberg.writers',
]
ibiblio_packages = pypi_packages + [
'epubmaker',
'epubmaker.lib',
'epubmaker.writers.ibiblio',
]
pypi_py_modules = [
'epubmaker.CommonOptions',
'epubmaker.EpubMaker',
'epubmaker.HTMLChunker',
'epubmaker.ParserFactory',
'epubmaker.Spider',
'epubmaker.Unitame',
'epubmaker.UnitameData',
'epubmaker.Version',
'epubmaker.lib.DublinCore',
'epubmaker.lib.GutenbergGlobals',
'epubmaker.lib.Logger',
'epubmaker.lib.MediaTypes',
'epubmaker.WriterFactory',
]
pypi_package_data = {
'epubmaker.parsers': ['broken.png'],
'epubmaker.writers': ['cover.jpg'],
'epubmaker.mydocutils.parsers': ['*.rst'],
'epubmaker.mydocutils.writers': ['*.css'],
'epubmaker.mydocutils.gutenberg.parsers': ['*.rst'],
}
ibiblio_package_data = pypi_package_data
ibiblio_package_data.update ({
'epubmaker.writers.ibiblio': ['qioo-skeleton.zip'],
})
pypi_data_files = [
('', ['CHANGES', 'setup_inc.py']),
]
ibiblio_data_files = [
('epubmaker', ['CHANGES', 'setup_inc.py']),
]
pypi_scripts = [
'scripts/epubmaker',
'scripts/rhyme_compiler',
]
ibiblio_scripts = pypi_scripts + [
'scripts/makepub',
'scripts/convert_unitame',
'scripts/update_facebook_auth',
]
# metadata for upload to PyPI
author = "Marcello Perathoner"
author_email = "[email protected]"
description = "The Project Gutenberg tool to generate EPUBs and other ebook formats."
long_description = open ('README').read ()
license = "GPL v3"
keywords = "ebook epub kindle pdf rst reST reStructuredText project gutenberg format conversion"
url = "https://github.com/gitenberg-dev/pg-epubmaker"
classifiers = [
"Topic :: Text Processing",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Environment :: Console",
"Operating System :: OS Independent",
"Intended Audience :: Other Audience",
"Development Status :: 4 - Beta"
]
platforms = 'OS-independent'