Skip to content

Commit

Permalink
Project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
koenedaele committed Sep 24, 2015
0 parents commit be92944
Show file tree
Hide file tree
Showing 9 changed files with 819 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .gitignore
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

4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.1.0 (??-09-2015)
------------------

- Initial version
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include *.txt *.ini *.cfg *.rst *.yaml
prune tests
15 changes: 15 additions & 0 deletions README.rst
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.
18 changes: 18 additions & 0 deletions requirements-dev.txt
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
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pyramid==1.5.7

PyYAML==3.11
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal = 1
44 changes: 44 additions & 0 deletions setup.py
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
""",
)

0 comments on commit be92944

Please sign in to comment.