Skip to content

Commit 71bf06e

Browse files
committed
Update setup.py and other configure files.
1 parent a11fd05 commit 71bf06e

5 files changed

Lines changed: 46 additions & 8 deletions

File tree

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) Django Xadmin and individual contributors.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice,
8+
this list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in the
12+
documentation and/or other materials provided with the distribution.
13+
14+
3. Neither the name of Django Xadmin nor the names of its contributors may be used
15+
to endorse or promote products derived from this software without
16+
specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MANIFEST.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
include README.md
2+
include LICENSE
3+
include MANIFEST.in
4+
recursive-include xadmin/locale *
5+
recursive-include xadmin/static/xadmin/css *
6+
recursive-include xadmin/static/xadmin/js *
7+
recursive-include xadmin/static/xadmin/vendor *
8+
recursive-include xadmin/templates *
9+
recursive-exclude * __pycache__
10+
recursive-exclude * *.py[co]

requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
django>=1.4
22
xlwt
33
django-crispy-forms>=1.2.3
4-
django-reversion
5-
psycopg2==2.4.5
6-
dj-database-url==0.2.0
4+
django-reversion

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
from setuptools import setup
1+
#!/usr/bin/env python
2+
from setuptools import setup, find_packages
3+
4+
#version_tuple = __import__('xadmin').VERSION
5+
#version = ".".join([str(v) for v in version_tuple])
26

37
setup(
48
name='django-xadmin',
5-
version='0.1.1',
9+
version='0.1.0',
610
description='Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.',
711
long_description=open('README.md').read(),
812
author='sshwsfc',
913
author_email='[email protected]',
1014
url='http://xadmin.io',
11-
download_url='',
12-
packages=['xadmin'],
15+
packages=['xadmin', 'xadmin.plugins', 'xadmin.templatetags', 'xadmin.tests', 'xadmin.views'],
1316
include_package_data=True,
1417
zip_safe=False,
1518
keywords=['admin', 'django', 'xadmin', 'bootstrap'],

xadmin/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from xadmin.sites import AdminSite, site
22

3-
__version__ = '0.1.0'
3+
VERSION = [0,1,0]
44

55
def autodiscover():
66
"""

0 commit comments

Comments
 (0)