From bb089fe583469248ec6255a577d73325e0b56631 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Sat, 14 Dec 2013 13:17:53 +0100 Subject: [PATCH] Numerous fixes around package management. Kudos to @koobs. --- LICENSE | 19 +++++++++++++++++++ MANIFEST.in | 4 ++++ setup.py | 12 +++++------- 3 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 LICENSE create mode 100644 MANIFEST.in diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0f62824 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2013 Martin Mahner + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..ca988a8 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include *.rst +include LICENSE +recursive-include dpaste/templates * +recursive-include dpaste/static * diff --git a/setup.py b/setup.py index c497da3..cee434e 100644 --- a/setup.py +++ b/setup.py @@ -11,8 +11,7 @@ setup( author='Martin Mahner', author_email='martin@mahner.org', url='https://github.com/bartTC/dpaste/', - - classifiers=( + classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Intended Audience :: Developers', @@ -20,15 +19,14 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', 'Framework :: Django', - ), - + ], packages=find_packages(), package_data={'dpaste': ['static/*.*', 'templates/*.*']}, - scripts=('manage.py',), - install_requires=( + include_package_data=True, + install_requires=[ 'django>=1.4', 'django-mptt>=0.6.0', 'pygments>=1.6', 'requests>=2.0.0', - ), + ] )