-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
executable file
·61 lines (52 loc) · 1.51 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
#!/usr/bin/env python3
"""
Ark
===
Ark is a static website generator in Python. It transforms a directory of
text files into a self-contained website that can be viewed locally or
served remotely.
* `Documentation <http://mulholland.xyz/docs/ark/>`_
* `Sample Site <http://ark.mulholland.xyz>`_
* `Github Homepage <https://github.com/dmulholland/ark>`_
"""
import os
import re
import io
from setuptools import setup, find_packages
filepath = os.path.join(os.path.dirname(__file__), 'ark', 'meta.py')
with io.open(filepath, encoding='utf-8') as metafile:
regex = r'''^__([a-z]+)__ = ["'](.*)["']'''
meta = dict(re.findall(regex, metafile.read(), flags=re.MULTILINE))
setup(
name = 'ark',
version = meta['version'],
packages = find_packages(),
include_package_data = True,
entry_points = {
'console_scripts': [
'ark = ark.main:main',
],
},
install_requires = [
'markdown',
'pygments',
'pyyaml',
'syntex',
'ibis',
'shortcodes',
'pyclio',
'jinja2',
],
author = 'Darren Mulholland',
url='https://github.com/dmulholland/ark',
license = 'Public Domain',
description = 'A static website generator.',
long_description = __doc__,
classifiers = [
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'License :: Public Domain',
'Topic :: Text Processing :: Markup :: HTML',
],
)