Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moving license and readme, adding a setup, general maintence, yadda

yadda
  • Loading branch information...
commit 0ef688d7d6b775e7271064ecd03b5964c631e5a2 1 parent 03dc753
@coleifer coleifer authored
View
8 .gitignore
@@ -0,0 +1,8 @@
+*.pyc
+build/
+src/
+pip-log.txt
+*DS_Store
+*~
+dist/
+*.egg-info/
View
0  cab/LICENSE.txt → LICENSE
File renamed without changes
View
6 cab/README.txt → README.rst
@@ -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
@@ -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/
View
32 setup.py
@@ -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',
+ ],
+)
Please sign in to comment.
Something went wrong with that request. Please try again.