-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit be92944
Showing
9 changed files
with
819 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
bin/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
|
||
# Translations | ||
*.mo | ||
|
||
# Mr Developer | ||
.mr.developer.cfg | ||
.project | ||
.pydevproject | ||
|
||
# Rope | ||
.ropeproject | ||
|
||
# Django stuff: | ||
*.log | ||
*.pot | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
#idea | ||
.idea | ||
|
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,4 @@ | ||
0.1.0 (??-09-2015) | ||
------------------ | ||
|
||
- Initial version |
Large diffs are not rendered by default.
Oops, something went wrong.
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,2 @@ | ||
include *.txt *.ini *.cfg *.rst *.yaml | ||
prune tests |
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,15 @@ | ||
UriHandler | ||
========== | ||
|
||
.. image:: https://badge.fury.io/py/urihandler.png | ||
:target: http://badge.fury.io/py/urihandler | ||
.. image:: https://readthedocs.org/projects/urihandler/badge/?version=latest | ||
:target: https://readthedocs.org/projects/urihandler/?badge=latest | ||
|
||
.. image:: https://travis-ci.org/OnroerendErfgoed/urihandler.png?branch=master | ||
:target: https://travis-ci.org/OnroerendErfgoed/urihandler | ||
.. image:: https://coveralls.io/repos/OnroerendErfgoed/urihandler/badge.png?branch=master | ||
:target: https://coveralls.io/r/OnroerendErfgoed/urihandler | ||
|
||
This very simple applications is meant to be the handler on a domain that | ||
handles Cool Uri's (http://www.w3.org/TR/cooluris/) with 303 redirects. |
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,18 @@ | ||
# Runtime requirements | ||
--requirement requirements.txt | ||
|
||
# Documentation | ||
Sphinx==1.3.1 | ||
sphinxcontrib-httpdomain==1.4.0 | ||
|
||
waitress | ||
pyramid_debugtoolbar | ||
|
||
#testing | ||
pytest==2.8.0 | ||
pytest-cov==2.1.0 | ||
webtest==2.0.18 | ||
coveralls==1.0 | ||
|
||
# Wheel | ||
wheel==0.26.0 |
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,3 @@ | ||
pyramid==1.5.7 | ||
|
||
PyYAML==3.11 |
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,2 @@ | ||
[bdist_wheel] | ||
universal = 1 |
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,44 @@ | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
with open(os.path.join(here, 'README.rst')) as f: | ||
README = f.read() | ||
with open(os.path.join(here, 'CHANGES.rst')) as f: | ||
CHANGES = f.read() | ||
|
||
requires = [ | ||
'pyramid', | ||
'PyYAML' | ||
] | ||
|
||
setup(name='urihandler', | ||
version='0.1.0.dev0', | ||
description='A tiny application that handles (cool) uri\'s.', | ||
long_description=README + '\n\n' + CHANGES, | ||
classifiers=[ | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
"Framework :: Pyramid", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application", | ||
], | ||
author='Flanders Heritage Agency', | ||
author_email='[email protected]', | ||
url='http://urihandler.readthedocs.org', | ||
license='GPLv3', | ||
keywords='web wsgi pyramid uri', | ||
packages=find_packages(), | ||
include_package_data=True, | ||
zip_safe=False, | ||
test_suite='urihandler', | ||
install_requires=requires, | ||
entry_points="""\ | ||
[paste.app_factory] | ||
main = urihandler:main | ||
""", | ||
) |