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 -*-
2016-02-19 10:00:38 +01:00
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')
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',
version='0.1',
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',
long_description=read_md('README.md'),
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-19 10:03:16 +01:00
'prosopopee': ["static/%s/*" % x for x in os.listdir("./prosopopee/static/")] + ['templates/*.html', 'templates/sections/*'],
},
2015-12-09 08:18:42 +01:00
)