-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
85 lines (68 loc) · 2.31 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
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
#!/usr/bin/env python
from setuptools import setup
short_desc = "a lightweight wiki system with Markdown/Graphviz/TeX support"
kwargs = dict(
name = "zbox_wiki",
description = short_desc,
long_description = "ZBox Wiki is %s, it's easy to use, easy to read and easy to extend." % short_desc,
version = "201212-r1",
author = "Shuge Lee",
author_email = "[email protected]",
url = "https://github.com/shuge/zbox_wiki",
license = "BSD License",
platforms = ["Mac OS X", "Linux"],
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: MacOS X",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2 :: Only",
"Topic :: Software Development :: Documentation",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Text Processing",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: Markup :: HTML",
],
packages = [
"zbox_wiki",
"zbox_wiki.markdown",
"zbox_wiki.markdown.extensions",
# ship web.py with this project for walking around custom static files folder bug
"zbox_wiki.web",
"zbox_wiki.web.contrib",
"zbox_wiki.web.wsgiserver",
],
package_data = {
"zbox_wiki" : [
"nginx-debian.conf",
"default.cfg",
"pages/Kubuntu-logo.png",
"pages/robots.txt",
"pages/*.md",
"pages/zbox-wiki/*.md",
"pages/zbox-wiki_zh_CN/*.md",
"scripts/*.py",
"scripts/*.sh",
"static/favicon.ico",
"static/default/css/*.css",
"static/default/js/*.js",
"static/default/js/prettify/*.js",
"static/default/js/prettify/*.css",
"templates/*.tpl",
],
},
scripts = [
"zbox_wiki/scripts/zwadmin.py",
"zbox_wiki/scripts/zwd.py",
],
install_requires = [
"MonkeyCommons",
],
)
setup(**kwargs)