Skip to content

Commit

Permalink
update setup and docs: treebeard supports python 2.4+ and django 1.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
tabo committed Mar 19, 2012
1 parent 4f3b049 commit b905be0
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGES
Expand Up @@ -9,7 +9,7 @@ Release 1.6X (XXX XX, 2012)
Applied Science (http://www.orcasinc.com/), developed by Aureal
(http://aureal.pe/) and inspired by FeinCMS
(http://www.feinheit.ch/media/labs/feincms/admin.html). Thanks ORCAS!
* Updated docs: the library supports python 2.5+
* Updated docs: the library supports python 2.4+ and Django 1.2+
* Small optimization to ns_tree.is_root (thanks jaap3)
* Moved treebeard.tests to it's own directory (instead of tests.py)
* Added the runtests.py test runner
Expand Down
2 changes: 1 addition & 1 deletion README
Expand Up @@ -3,7 +3,7 @@ django-treebeard
================

django-treebeard is a library that implements efficient tree implementations
for the Django Web Framework 1.0+, written by Gustavo Picón and licensed under
for the Django Web Framework 1.2+, written by Gustavo Picón and licensed under
the Apache License 2.0.

django-treebeard is:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Expand Up @@ -3,7 +3,7 @@ django-treebeard

`django-treebeard <https://tabo.pe/projects/django-treebeard/>`_
is a library that implements efficient tree implementations for the
`Django Web Framework 1.0+ <http://www.djangoproject.com/>`_, written by
`Django Web Framework 1.2+ <http://www.djangoproject.com/>`_, written by
`Gustavo Picón <https://tabo.pe>`_ and licensed under the Apache License 2.0.

``django-treebeard`` is:
Expand Down
4 changes: 2 additions & 2 deletions docs/intro.rst
Expand Up @@ -8,8 +8,8 @@ Everything you need to get working quickly.
Prerequisites
-------------

``django-treebeard`` needs at least **Python 2.5** to run, and
**Django 1.0 or better**.
``django-treebeard`` needs at least **Python 2.4** to run, and
**Django 1.2 or better**.


Installation
Expand Down
2 changes: 1 addition & 1 deletion docs/mp_tree.rst
Expand Up @@ -5,7 +5,7 @@ Materialized Path trees
.. moduleauthor:: Gustavo Picon <tabo@tabo.pe>

This is an efficient implementation of Materialized Path
trees for Django 1.0+, as described by `Vadim Tropashko`_ in `SQL Design
trees for Django 1.2+, as described by `Vadim Tropashko`_ in `SQL Design
Patterns`_. Materialized Path is probably the fastest way of working with
trees in SQL without the need of extra work in the database, like Oracle's
``CONNECT BY`` or sprocs and triggers for nested intervals.
Expand Down
2 changes: 1 addition & 1 deletion docs/ns_tree.rst
Expand Up @@ -4,7 +4,7 @@ Nested Sets trees
.. module:: treebeard.ns_tree
.. moduleauthor:: Gustavo Picon <tabo@tabo.pe>

An implementation of Nested Sets trees for Django 1.0+, as described by
An implementation of Nested Sets trees for Django 1.2+, as described by
`Joe Celko`_ in `Trees and Hierarchies in SQL for Smarties`_.

Nested sets have very efficient reads at the cost of high maintenance on
Expand Down
13 changes: 9 additions & 4 deletions setup.py
Expand Up @@ -33,7 +33,7 @@ def run_tests(self):
packages=['treebeard', 'treebeard.templatetags'],
package_dir={'treebeard': 'treebeard'},
package_data={'treebeard': ['templates/admin/*.html']},
description='Efficient tree implementations for Django 1.0+',
description='Efficient tree implementations for Django 1.2+',
long_description=open(root_dir() + '/README').read(),
cmdclass={'test': pytest_test},
install_requires=['Django>=1.2'],
Expand All @@ -42,12 +42,17 @@ def run_tests(self):
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Environment :: Web Environment',
'Framework :: Django',
'Programming Language :: Python',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'Environment :: Web Environment',
'Framework :: Django'])
'Topic :: Utilities'])


if __name__ == '__main__':
setup(**setup_args)

0 comments on commit b905be0

Please sign in to comment.