Skip to content

Commit

Permalink
Moving license and readme, adding a setup, general maintence, yadda
Browse files Browse the repository at this point in the history
yadda
  • Loading branch information
coleifer committed May 14, 2010
1 parent 03dc753 commit 0ef688d
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.pyc
build/
src/
pip-log.txt
*DS_Store
*~
dist/
*.egg-info/
File renamed without changes.
6 changes: 3 additions & 3 deletions cab/README.txt → README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ bundled with Django itself:
It's also recommended that you have ``django.contrib.admin`` installed
for ease of site maintenance.

Once you've got those taken care of, do a Subversion checkout of Cab
Once you've got those taken care of, grab a git checkout of Cab
from somewhere on your Python path::

svn checkout http://cab.googlecode.com/svn/trunk/ cab
git clone git://github.com/coleifer/cab.git

Then add ``cab`` to the ``INSTALLED_APPS`` setting of your Django
project, run ``manage.py syncdb``, and either put a call to
Expand Down Expand Up @@ -66,4 +66,4 @@ shouldn't need to do anything special to have Django pick up Cab's
built-in tmeplates; Django's "app directories" template loader should
notice them and use them.

.. _djangosnippets.org: http://www.djangosnippets.org/
.. _djangosnippets.org: http://www.djangosnippets.org/
32 changes: 32 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import os
from setuptools import setup, find_packages

from relationships import VERSION

f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()

setup(
name='cab',
version=".".join(map(str, VERSION)),
description='The code that powers djangosnippets.org',
long_description=readme,
author='James Bennett',
url='http://github.com/coleifer/cab/tree/master',
packages=find_packages(),
package_data = {
'cab': [
'templates/*.html',
'templates/*/*.html',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
)

0 comments on commit 0ef688d

Please sign in to comment.