forked from marc0s/oak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (24 loc) · 772 Bytes
/
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
# -*- coding: utf-8 -*-
import os
from distutils.core import setup
def find_templates():
_paths = []
for r, d, f in os.walk('oak/layouts'):
if len(f):
for _f in f:
_paths.append(r.strip('oak/') + '/' + _f)
return _paths
setup(
name='Oak',
version='0.1.8.1',
url='http://github.com/marc0s/oak',
author='marc0s',
author_email='[email protected]',
packages=['oak', 'oak.models', 'oak.processors', 'oak.utils'],
package_data={'oak': ['scripts/manage.py', ] + find_templates() },
scripts=['bin/oak-admin.py',],
install_requires=['Jinja2','Markdown','PyYAML','Pygments'],
license='WTFPL',
description='A simple static-blog generator',
long_description=open('README.md').read(),
)