2018-10-15 01:43:11 +03:00
|
|
|
import os
|
|
|
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
with open(os.path.join(here, 'README.txt')) as f:
|
|
|
|
README = f.read()
|
|
|
|
with open(os.path.join(here, 'CHANGES.txt')) as f:
|
|
|
|
CHANGES = f.read()
|
|
|
|
|
|
|
|
requires = [
|
|
|
|
'plaster_pastedeploy',
|
2018-12-17 13:13:59 +03:00
|
|
|
'pyramid >= 1.10',
|
2018-10-15 01:43:11 +03:00
|
|
|
'pyramid_debugtoolbar',
|
|
|
|
'pyramid_jinja2',
|
|
|
|
'pyramid_retry',
|
|
|
|
'pyramid_tm',
|
|
|
|
'transaction',
|
|
|
|
'waitress',
|
|
|
|
'Markdown',
|
|
|
|
'PyYAML',
|
|
|
|
'python-frontmatter',
|
|
|
|
'pyramid-htmlmin',
|
|
|
|
'pyramid-webpack',
|
2019-05-18 00:19:08 +03:00
|
|
|
'Babel',
|
2018-10-15 01:43:11 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
tests_require = [
|
|
|
|
'WebTest >= 1.3.1', # py3 compat
|
|
|
|
'pytest',
|
|
|
|
'pytest-cov',
|
|
|
|
]
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='flatfilecms',
|
2019-02-10 23:21:47 +03:00
|
|
|
version='0.3',
|
2018-10-26 22:49:55 +03:00
|
|
|
description='flat-file CMS suitable for static site',
|
2018-10-15 01:43:11 +03:00
|
|
|
long_description=README + '\n\n' + CHANGES,
|
2019-05-28 22:54:48 +03:00
|
|
|
long_description_content_type='text/x-rst',
|
2018-10-15 01:43:11 +03:00
|
|
|
classifiers=[
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Framework :: Pyramid',
|
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
|
|
|
|
],
|
|
|
|
author='Anton Kasimov',
|
|
|
|
author_email='kasimov@radium-it.ru',
|
2019-05-28 22:34:41 +03:00
|
|
|
url='https://trac.radium.group/flatfilecms/',
|
2018-10-15 01:43:11 +03:00
|
|
|
keywords='web pyramid pylons flat-file CMS',
|
|
|
|
packages=find_packages(),
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
extras_require={
|
|
|
|
'testing': tests_require,
|
|
|
|
},
|
|
|
|
install_requires=requires,
|
|
|
|
entry_points={
|
|
|
|
'paste.app_factory': [
|
|
|
|
'main = flatfilecms:main',
|
|
|
|
],
|
|
|
|
'console_scripts': [
|
|
|
|
'generate_static_site = flatfilecms.scripts.generate:main',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
)
|