-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated packaging/testing/documentation configuration
- Loading branch information
Showing
6 changed files
with
117 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
type: sphinx | ||
python: | ||
version: "3.5" | ||
pip_install: true | ||
extra_requirements: | ||
- doc | ||
- django | ||
- jinja2 | ||
- mako | ||
- tonnikala | ||
- tornado |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
Sphinx >= 1.5 | ||
sphinx_rtd_theme | ||
sphinx-autodoc-typehints >= 1.0.5 | ||
sphinxcontrib-asyncio >= 0.2.0 | ||
django | ||
jinja2 | ||
mako | ||
tonnikala | ||
tornado | ||
# This is for ReadTheDocs and can be removed once they upgrade to a newer setuptools release. | ||
setuptools >= 36.2.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,12 @@ | ||
from pathlib import Path | ||
|
||
from setuptools import setup | ||
|
||
setup( | ||
name='asphalt-templating', | ||
use_scm_version={ | ||
'version_scheme': 'post-release', | ||
'local_scheme': 'dirty-tag' | ||
}, | ||
description='Templating component for the Asphalt framework', | ||
long_description=Path(__file__).with_name('README.rst').read_text('utf-8'), | ||
author='Alex Grönholm', | ||
author_email='alex.gronholm@nextday.fi', | ||
url='https://github.com/asphalt-framework/asphalt-templating', | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Topic :: Text Processing :: General', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6' | ||
], | ||
license='Apache License 2.0', | ||
zip_safe=False, | ||
packages=[ | ||
'asphalt.templating', | ||
'asphalt.templating.renderers' | ||
], | ||
setup_requires=[ | ||
'setuptools >= 36.2.7', | ||
'setuptools_scm >= 1.7.0' | ||
], | ||
install_requires=[ | ||
'asphalt >= 3.0, < 5.0', | ||
'typeguard ~= 2.0' | ||
], | ||
extras_require={ | ||
'django': 'Django >= 1.9.0', | ||
'mako': 'Mako >= 1.0.1', | ||
'jinja2': 'Jinja2 >= 2.7.3', | ||
'tonnikala': 'tonnikala >= 1.0.0b1', | ||
'tornado': 'tornado >= 4.3.0', | ||
'testing': [ | ||
'pytest', | ||
'pytest-cov', | ||
'pytest-asyncio >= 0.5.0' | ||
] | ||
}, | ||
entry_points={ | ||
'asphalt.components': [ | ||
'templating = asphalt.templating.component:TemplatingComponent' | ||
], | ||
'asphalt.templating.renderers': [ | ||
'django = asphalt.templating.renderers.django:DjangoRenderer [django]', | ||
'jinja2 = asphalt.templating.renderers.jinja2:Jinja2Renderer [jinja2]', | ||
'mako = asphalt.templating.renderers.mako:MakoRenderer [mako]', | ||
'tonnikala = asphalt.templating.renderers.mako:TonnikalaRenderer [tonnikala]', | ||
'tornado = asphalt.templating.renderers.tornado:TornadoRenderer [tornado]' | ||
] | ||
} | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters