magcms/setup.py

36 lines
1.1 KiB
Python
Raw Normal View History

2015-12-09 08:18:42 +01:00
#!/usr/bin/python
# -*- coding:Utf-8 -*-
import os
2015-12-09 08:18:42 +01:00
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()
2015-12-09 08:18:42 +01:00
setup(name='prosopopee',
2016-02-23 07:02:10 +01:00
version='0.2',
2016-02-09 23:56:12 +01:00
description='exposure.co clone in a static web generating tool',
2015-12-09 08:18:42 +01:00
author='Laurent Peuch',
2016-02-23 07:01:06 +01:00
long_description=read_md('README.md') + "\n\n\n" + read_md('CHANGELOG'),
2015-12-09 08:18:42 +01:00
author_email='cortex@worlddomination.be',
url='https://github.com/Psycojoker/prosopopee',
2015-12-09 08:20:24 +01:00
install_requires=open("./requirements.txt", "r").read().split(),
packages=['prosopopee'],
2015-12-09 08:18:42 +01:00
py_modules=[],
license= 'GPLv3+',
scripts=[],
entry_points={
'console_scripts': ['prosopopee = prosopopee.prosopopee:main']
},
2015-12-09 08:18:42 +01:00
keywords='',
include_package_data=True,
package_data={
2016-02-24 14:06:28 +01:00
'prosopopee': ['themes/*/*/*/*', 'themes/*/templates/*.html', 'themes/*/templates/section/*.html'],
},
2015-12-09 08:18:42 +01:00
)