Skip to content

Commit

Permalink
Update setup.py and other configure files.
Browse files Browse the repository at this point in the history
  • Loading branch information
sshwsfc committed May 6, 2013
1 parent a11fd05 commit 71bf06e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 8 deletions.
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) Django Xadmin and individual contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of Django Xadmin nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10 changes: 10 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
include README.md
include LICENSE
include MANIFEST.in
recursive-include xadmin/locale *
recursive-include xadmin/static/xadmin/css *
recursive-include xadmin/static/xadmin/js *
recursive-include xadmin/static/xadmin/vendor *
recursive-include xadmin/templates *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
django>=1.4
xlwt
django-crispy-forms>=1.2.3
django-reversion
psycopg2==2.4.5
dj-database-url==0.2.0
django-reversion
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
from setuptools import setup
#!/usr/bin/env python
from setuptools import setup, find_packages

#version_tuple = __import__('xadmin').VERSION
#version = ".".join([str(v) for v in version_tuple])

setup(
name='django-xadmin',
version='0.1.1',
version='0.1.0',
description='Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.',
long_description=open('README.md').read(),
author='sshwsfc',
author_email='sshwsfc@gmail.com',
url='http://xadmin.io',
download_url='',
packages=['xadmin'],
packages=['xadmin', 'xadmin.plugins', 'xadmin.templatetags', 'xadmin.tests', 'xadmin.views'],
include_package_data=True,
zip_safe=False,
keywords=['admin', 'django', 'xadmin', 'bootstrap'],
Expand Down
2 changes: 1 addition & 1 deletion xadmin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from xadmin.sites import AdminSite, site

__version__ = '0.1.0'
VERSION = [0,1,0]

def autodiscover():
"""
Expand Down

0 comments on commit 71bf06e

Please sign in to comment.