Commits

Branko Vukelic committed bbb4386

Preparing for release

Comments (0)

Files changed (4)

+include README.rst
+include LICENSE
+include NEWS
+2012-11-30 released 0.0.1
+=========================
+
++ Working release with select2 and datepicker plugins
 Collection of static assets (CSS, JavaScript, images) that allow for quickly
 adding Twitter bootstrap and related plugins to a Django project.
 
+Installation
+============
+
+To install, use pip or easy_install:
+
+    pip install django-bootstrap-assets
+
+Next, add one of the preferred pluggable apps to ``INSTALLED_APPS``. For
+example, if we want to install Bootstrap and all of the plugins at once::
+
+    INSTALLED_APPS = (
+        ...
+        'bootstrap_all',
+        ...
+    )
+
+Apps are explained in `Structure of the packages`_ section. 
+
 Included plugins
 ================
 
 Structure of the packages
 =========================
 
-This project is divided into four packages:
+This project is divided into four packages. Each package contains a pluggable
+Django app which provides static assets.
 
 + ``bootstrap``: contains Twitter bootstrap only
 + ``bootstrap_select2``: contains select2 plugin
 Each package has normal Django app structure with a ``static`` directory
 containing the assets.
 
+The ``bootstrap_all`` app simply contains symlinks to all of the assets in
+other three apps.
+
 .. _select2: http://ivaynberg.github.com/select2/
 .. _bootstrap-datepicker: http://www.eyecon.ro/bootstrap-datepicker/
+from distutils.core import setup
+
+setup(
+    name='django-bootstrap-assets',
+    description='jQuery plugin that auto-hides form field help blocks as '
+    'pluggable Django app',
+    long_description=open('README.rst').read(),
+    version='0.0.1',
+    packages=[
+        'bootstrap',
+        'bootstrap_all',
+        'bootstrap_datepicker',
+        'bootstrap_select2',
+    ],
+    package_data={
+        'bootstrap': [
+            'static/js/*.js',
+            'static/css/*.css',
+            'static/img/*.png',
+        ],
+        'bootstrap_all': [
+            'static/js/*.js',
+            'static/css/*.css',
+            'static/img/*.png',
+            'static/img/*.gif',
+        ],
+        'bootstrap_datepicker': [
+            'static/js/*.js',
+            'static/css/*.css'
+        ],
+        'bootstrap_select2': [
+            'static/js/*.js',
+            'static/css/*.css',
+            'static/img/*.png',
+            'static/img/*.gif',
+        ],
+    },
+    include_package_data=True,
+    author='Monwara LLC',
+    author_email='branko@monwara.com',
+    url='https://bitbucket.org/monwara/django-bootstrap-assets',
+    download_url='https://bitbucket.org/monwara/django-bootstrap-assets/downloads',
+    license='BSD',
+    classifiers = [
+        'Development Status :: 2 - Pre-Alpha',
+        'Framework :: Django',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: BSD License',
+    ],
+)
+
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.