forked from vladris/tinkerer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (64 loc) · 2.12 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
'''
Tinkerer Setup
~~~~~~~~~~~~~~
Package setup script.
:copyright: Copyright 2011-2018 by Vlad Riscutia and contributors (see
CONTRIBUTORS file)
:license: FreeBSD, see LICENSE file
'''
from setuptools import setup, find_packages
import tinkerer
long_desc = '''
Tinkerer is a blogging engine/static website generator powered by Sphinx.
It allows blogging in reStructuredText format, comes with out-of-the-box
support for post publishing dates, authors, categories, tags, post archive,
RSS feed generation, comments powered by Disqus and more.
Tinkerer is also highly customizable through Sphinx extensions.
'''
requires = ["Jinja2>=2.3", "Sphinx>=1.6.1", "Babel>=1.3", "pyquery>=1.2.8"]
test_requires = ['nose', 'tox']
setup(
name = "Tinkerer",
version = tinkerer.__version__,
url = "http://tinkerer.me/",
download_url = "http://pypi.python.org/pypi/Tinkerer",
license = "FreeBSD",
author = "Vlad Riscutia",
author_email = "riscutiavlad@gmail.com",
description = "Sphinx-based blogging engine",
long_description = long_desc,
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Communications",
"Topic :: Internet"
],
platforms = "any",
packages = find_packages(exclude=["tinkertest"]),
include_package_data = True,
entry_points = {
"console_scripts": [
"tinker = tinkerer.cmdline:main"
],
"babel.extractors": [
"jinja2 = jinja2.ext.babel_extract"
]
},
install_requires = requires,
test_requires = test_requires,
test_suite = 'nose.collector',
message_extractors = {
'tinkerer': [
('**.py', 'python', None),
('**.html', 'jinja2', None),
('**.js', 'javascript', {
'extract_messages': '$._, jQuery._',
}),
],
},
)