Author: leidel
Date: Fri Nov 21 04:49:17 2008
New Revision: 83
Modified:
trunk/INSTALL
trunk/MANIFEST.in
trunk/messages/__init__.py
trunk/setup.py
Log:
Updated setup.py, INSTALL notice and MANIFEST template
Modified: trunk/INSTALL
==============================================================================
--- trunk/INSTALL (original)
+++ trunk/INSTALL Fri Nov 21 04:49:17 2008
@@ -2,14 +2,23 @@
python setup.py install
+If you have the Python ``easy_install`` utility available, you can
+also type the following to download and install in one step::
+
+ easy_install django-messages
+
+Or if you're using ``pip``::
+
+ pip install django-messages
+
Or if you'd prefer you can simply place the included ``messages``
directory somewhere on your Python path, or symlink to it from
somewhere on your Python path; this is useful if you're working from a
Subversion checkout.
-Note that this application requires Python 2.4 or later, and Django 0.96.1.
-You can obtain Python from http://www.python.org/ and Django
+Note that this application requires Python 2.4 or later, and Django 1.0 or
+later. You can obtain Python from http://www.python.org/ and Django
from http://www.djangoproject.com/.
Most of this install notice was bluntly stolen from James Bennett's
registration
-package, http://code.google.com/p/django-registration/
\ No newline at end of file
+package, http://www.bitbucket.org/ubernostrum/django-registration/
\ No newline at end of file
Modified: trunk/MANIFEST.in
==============================================================================
--- trunk/MANIFEST.in (original)
+++ trunk/MANIFEST.in Fri Nov 21 04:49:17 2008
@@ -1,6 +1,5 @@
-include README
+include AUTHORS
include LICENSE
include INSTALL
-include MANIFEST.in
-include messages/templates/messages/*.html
recursive-include messages/locale *
+recursive-include messages/templates/ *
Modified: trunk/messages/__init__.py
==============================================================================
--- trunk/messages/__init__.py (original)
+++ trunk/messages/__init__.py Fri Nov 21 04:49:17 2008
@@ -0,0 +1,2 @@
+VERSION = (0, 3, 1)
+__version__ = '.'.join(map(str, VERSION))
\ No newline at end of file
Modified: trunk/setup.py
==============================================================================
--- trunk/setup.py (original)
+++ trunk/setup.py Fri Nov 21 04:49:17 2008
@@ -1,41 +1,24 @@
from distutils.core import setup
-import os
-# Compile the list of packages available, because distutils doesn't have
-# an easy way to do this.
-packages, data_files = [], []
-root_dir = os.path.dirname(__file__)
-if root_dir:
- os.chdir(root_dir)
-
-for dirpath, dirnames, filenames in os.walk('messages'):
- # Ignore dirnames that start with '.'
- for i, dirname in enumerate(dirnames):
- if dirname.startswith('.'): del dirnames[i]
- if '__init__.py' in filenames:
- pkg = dirpath.replace(os.path.sep, '.')
- if os.path.altsep:
- pkg = pkg.replace(os.path.altsep, '.')
- packages.append(pkg)
- elif filenames:
- prefix = dirpath[13:] # Strip "messages/" or "messages\"
- for f in filenames:
- data_files.append(os.path.join(prefix, f))
-
-setup(name='messages',
- version='0.3',
- description='User-to-user messaging system for Django',
- author='Arne Brodowski',
- author_email='[EMAIL PROTECTED]',
- url='http://code.google.com/p/django-messages/',
- packages=packages,
- package_dir={'messages': 'messages'},
- package_data={'messages': data_files},
- classifiers=['Development Status :: 4 - Beta',
- 'Environment :: Web Environment',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: BSD License',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python',
- 'Topic :: Utilities'],
- )
\ No newline at end of file
+setup(
+ name='django-messages',
+ version=__import__('messages').__version__,
+ description='User-to-user messaging system for Django',
+ author='Arne Brodowski',
+ author_email='[EMAIL PROTECTED]',
+ url='http://code.google.com/p/django-messages/',
+ packages=(
+ 'messages',
+ 'messages.templatetags',
+ ),
+ classifiers=(
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Utilities',
+ 'Framework :: Django',
+ ),
+)
\ No newline at end of file
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---