-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
67 lines (51 loc) · 1.5 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
# -*- coding: utf-8 -*-
"""A static blog generator
"""
from __future__ import print_function
import os
from setuptools import setup
import peanut
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='peanut',
version=peanut.version,
license='MIT',
url = "https://github.com/zqqf16/peanut",
description='A static blog generator',
long_description=read('README.md'),
keywords = "static blog generator",
author='zqqf16',
author_email='zqqf16@gmail.com',
packages=['peanut'],
include_package_data = True,
package_data={
'peanut': [
'config.yml',
'themes/default/*.html',
'themes/default/*.xml',
'themes/default/assets/css/*.css',
'themes/default/assets/js/*.js',
],
},
python_requires='>=3',
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Stable',
# Indicate who your project is intended for
'Topic :: Utilities',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
],
install_requires=['Jinja2', 'Markdown', 'Pygments', 'PyYAML', 'docopt', 'requests'],
py_modules=['peanut'],
entry_points={
'console_scripts': [
'peanut=peanut.cmd:main',
],
},
test_suite = 'test',
)