-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
templatekit is designed to be an importable package that contains any custom code needed to render templates and rebuild examples. Scons will use templatekit as a library. All dependencies needed by templatekit and scons to render templates are defined through setup.py.
- Loading branch information
1 parent
0fc088d
commit 16ae3cc
Showing
4 changed files
with
62 additions
and
0 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 |
---|---|---|
|
@@ -14,3 +14,6 @@ doc/*.inc | |
doc/doxygen.conf | ||
tests/.tests | ||
version.py | ||
.eggs | ||
.pytest_cache | ||
*.egg-info |
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,8 @@ | ||
[aliases] | ||
test = pytest | ||
|
||
[tool:pytest] | ||
addopts = --flake8 | ||
flake8-ignore = | ||
file_templates/**/*.py ALL | ||
project_templates/**/*.py ALL |
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,51 @@ | ||
from setuptools import setup, find_packages | ||
|
||
package_name = 'lsst-templatekit' | ||
description = 'Tookit for rendering LSST project templates.' | ||
author = 'Association of Universities for Research in Astronomy' | ||
author_email = 'sqre-admin@lists.lsst.org' | ||
license = 'MIT' | ||
url = 'https://github.com/lsst/templates' | ||
pypi_classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6' | ||
] | ||
keywords = ['lsst', 'cookiecutter'] | ||
version = '0.1.0b1' | ||
|
||
# Core dependencies | ||
install_requires = [ | ||
'cookiecutter==1.6.0', | ||
'Jinja2==2.10', | ||
'scons==3.0.1' | ||
] | ||
|
||
# Test dependencies | ||
tests_require = [ | ||
'pytest==3.4.1', | ||
'pytest-flake8==0.9.1', | ||
] | ||
tests_require += install_requires | ||
|
||
# Setup-time dependencies | ||
setup_requires = [ | ||
'pytest-runner>=2.11.1,<3' | ||
] | ||
|
||
setup( | ||
name=package_name, | ||
description=description, | ||
author=author, | ||
author_email=author_email, | ||
url=url, | ||
license=license, | ||
classifiers=pypi_classifiers, | ||
keywords=keywords, | ||
packages=find_packages(exclude=['docs', 'tests', 'file_templates', | ||
'project_templates']), | ||
install_requires=install_requires, | ||
tests_require=tests_require, | ||
setup_requires=setup_requires, | ||
) |
Empty file.