From 1f7b8ecdb0635ca802bc3a566521a551dd676568 Mon Sep 17 00:00:00 2001 From: BenjamenMeyer Date: Wed, 11 Feb 2015 15:04:13 +0000 Subject: [PATCH] Bug Fixes - Bug Fix: setup did not include find_packages and therefore the currently installation may not be capturing everything it should be - Bug Fix: DELETE != PUT --- setup.py | 7 ++++++- stackinabox/services/service.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index a8f12e6..bbcd733 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ import sys -from setuptools import setup +from setuptools import setup, find_packages REQUIRES = [] @@ -13,4 +13,9 @@ author_email='ben.meyer@rackspace.com', install_requires=REQUIRES, test_suite='stackinabox', + packages=find_packages(exclude=['tests*', 'stackinabox/tests']), + zip_safe=True, + classifiers=["Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Topic :: Software Development :: Testing"], ) diff --git a/stackinabox/services/service.py b/stackinabox/services/service.py index c943e67..7e86d04 100644 --- a/stackinabox/services/service.py +++ b/stackinabox/services/service.py @@ -14,7 +14,7 @@ class RouteAlreadyRegisteredError(Exception): class StackInABoxService(object): - DELETE = 'PUT' + DELETE = 'DELETE' GET = 'GET' HEAD = 'HEAD' OPTIONS = 'OPTIONS'