Permalink
Browse files

Add files for packaging

  • Loading branch information...
1 parent 0b86a75 commit 49adc04942dadc2b17222c50f4a724087034c5aa @tomkins tomkins committed Nov 16, 2012
Showing with 60 additions and 0 deletions.
  1. +22 −0 LICENSE
  2. +1 −0 MANIFEST.in
  3. +5 −0 README.rst
  4. +1 −0 latest_tweets/__init__.py
  5. +31 −0 setup.py
View
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2012 Blanc Ltd. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
View
1 MANIFEST.in
@@ -0,0 +1 @@
+include README.rst
View
5 README.rst
@@ -0,0 +1,5 @@
+====================
+Django Latest Tweets
+====================
+
+A Django app to store the latest tweets from Twitter.
View
1 latest_tweets/__init__.py
@@ -0,0 +1 @@
+VERSION = (0, 1, 'dev')
View
31 setup.py
@@ -0,0 +1,31 @@
+#!/usr/bin/env python
+from distutils.core import setup
+
+# Use latest_tweets.VERSION for version numbers
+version_tuple = __import__('latest_tweets').VERSION
+version = '.'.join([str(v) for v in version_tuple])
+
+setup(
+ name='django-latest-tweets',
+ version=version,
+ description='Latest Tweets for Django',
+ long_description=open('README.rst').read(),
+ url='https://github.com/blancltd/django-latest-tweets',
+ maintainer='Alex Tomkins',
+ maintainer_email='alex@blanc.ltd.uk',
+ platforms=['any'],
+ packages=[
+ 'latest_tweets',
+ 'latest_tweets.management',
+ 'latest_tweets.management.commands',
+ 'latest_tweets.templatetags',
+ ],
+ classifiers=[
+ 'Environment :: Web Environment',
+ 'Framework :: Django',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ ],
+ license='BSD-2',
+)

0 comments on commit 49adc04

Please sign in to comment.