-
Notifications
You must be signed in to change notification settings - Fork 186
/
setup.py
59 lines (47 loc) · 1.56 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
57
58
59
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.md')
+ '\n' +
'Change history\n'
'**************\n'
+ '\n' +
read('CHANGES.txt')
+ '\n' +
'Contributors\n'
'************\n'
+ '\n' +
read('AUTHORS.txt')
)
setup(
name="Booktype",
version="2.4.0",
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/createbooktype'],
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',
)