forked from booktype/Booktype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (45 loc) · 1.55 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
from setuptools import setup, find_packages
import os
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
long_description = (
read('README.txt')
+ '\n' +
'Change history\n'
'**************\n'
+ '\n' +
read('CHANGES.txt')
+ '\n' +
'Contributors\n'
'************\n'
+ '\n' +
read('AUTHORS.txt')
)
setup(
name = "Booktype",
version = "1.5.5",
packages = find_packages('lib'), # include all packages under lib
package_dir = {'':'lib'}, # tell distutils packages are under lib
author = "Aleksandar Erkalovic",
author_email = "[email protected]",
description = "Booktype is a free, open source platform that produces beautiful, engaging books formatted for print, Amazon, iBooks and almost any ereader within minutes.",
long_description = long_description,
url = "http://booktype.sourcefabric.org/",
include_package_data = True,
package_data = {
# If any package contains *.txt or *.rst files, include them
'': ['*.txt', '*.rst'],
},
scripts=['scripts/createbooki'],
install_requires = ['setuptools', 'simplejson', 'django' ],
classifiers=[
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Framework :: Django",
],
keywords='collaborative book writing sprint',
license='AGPL',
)