forked from Psycojoker/prosopopee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 1.16 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
#!/usr/bin/python
# -*- coding:Utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst', format='md')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(name='prosopopee',
version='0.8.1',
description='A static website generator that allows you to tell a story with your pictures',
author='Laurent Peuch',
long_description=read_md('README.md') + "\n\n\n" + open('docs/changelog.rst').read(),
author_email='[email protected]',
url='https://github.com/Psycojoker/prosopopee',
install_requires=open("./requirements.txt", "r").read().split(),
packages=['prosopopee'],
py_modules=[],
license= 'GPLv3+',
scripts=[],
entry_points={
'console_scripts': ['prosopopee = prosopopee.prosopopee:main']
},
keywords='',
include_package_data=True,
package_data={
'prosopopee': ['themes/*/*/*/*', 'themes/*/templates/*.html', 'themes/*/templates/feed.xml', 'themes/*/templates/section/*.html'],
},
)