Permalink
Browse files

Deploy tools & updated README.

  • Loading branch information...
1 parent 5a49b94 commit 9de3a9617adeec74a560c0e4c42f1fb0d50d824d @dekked dekked committed Apr 19, 2012
Showing with 59 additions and 2 deletions.
  1. +2 −0 MANIFEST.in
  2. +16 −2 README.rst
  3. +41 −0 setup.py
View
@@ -0,0 +1,2 @@
+include README.rst
+include requirements.txt
View
@@ -20,6 +20,20 @@ Optional
* Django 1.4 for the sample project.
+Installation
+============
+
+Clone repository and do:
+
+ python setup.py install
+
+Or just do
+
+ pip install django-tastypie-extendedmodelresource
+
+to get the latest version from `pypi <http://pypi.python.org/pypi/django-tastypie-extendedmodelresource>`_).
+
+
*Nested* resources
==================
@@ -183,8 +197,8 @@ If you need to change the regular expression used for your identifier attribute
More information
================
-:Date: 04-14-2012
-:Version: 1.0
+:Date: 04-19-2012
+:Version: 0.1
:Authors:
- Alan Descoins - Tryolabs <alan@tryolabs.com>
- Martín Santos - Tryolabs <santos@tryolabs.com>
View
@@ -0,0 +1,41 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+try:
+ from setuptools import setup
+except ImportError:
+ from ez_setup import use_setuptools
+ use_setuptools()
+ from setuptools import setup
+
+VERSION = '0.1'
+
+if __name__ == '__main__':
+ setup(
+ name = 'django-tastypie-extendedmodelresource',
+ version = VERSION,
+ description = "An extension of TastyPie's ModelResource to easily support nested resources, and more.",
+ long_description = open('README.rst', 'r').read(),
+ author = 'Alan Descoins, Martín Santos',
+ author_email = 'alan@tryolabs.com, santos@tryolabs.com',
+ url = 'https://github.com/tryolabs/django-tastypie-extendedmodelresource',
+ keywords = "REST RESTful tastypie django resource nested extension",
+ license = 'BSD',
+ packages = (
+ 'extendedmodelresource',
+ ),
+ classifiers = (
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',
+ 'Framework :: Django',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Utilities'
+ ),
+ zip_safe = False,
+ install_requires = (
+ 'Django>=1.3',
+ 'django-tastypie>=0.9.11',
+ ),
+ )

0 comments on commit 9de3a96

Please sign in to comment.