Skip to content

Commit e525445

Browse files
committed
Python packaging bits
1 parent fb166fe commit e525445

File tree

5 files changed

+73
-0
lines changed

5 files changed

+73
-0
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Antonio Ognio <[email protected]>

LICENSE

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

MANIFEST

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# file GENERATED by distutils, do NOT edit
2+
LICENSE
3+
AUTHORS
4+
README.md
5+
setup.py
6+
sequence_field/__init__.py
7+
sequence_field/admin.py
8+
sequence_field/constants.py
9+
sequence_field/exceptions.py
10+
sequence_field/expanders.py
11+
sequence_field/fields.py
12+
sequence_field/models.py
13+
sequence_field/settings.py
14+
sequence_field/strings.py
15+
sequence_field/utils.py

MANIFEST.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include LICENSE
2+
include AUTHORS
3+
include README.md

setup.py

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
from setuptools import setup
2+
3+
description = 'Generic JSON model and form fields.'
4+
5+
try:
6+
with open('README.md') as f:
7+
long_description = f.read()
8+
except IOError:
9+
long_description = description
10+
11+
setup(
12+
name = 'django-sequence-field',
13+
version = '0.1',
14+
description = description,
15+
author = 'Antonio Ognio',
16+
author_email = '[email protected]',
17+
url = 'https://github.com/gnrfan/django-sequence-field',
18+
long_description = long_description,
19+
packages = ['sequence_field'],
20+
install_requires = ['django >= 1.6'],
21+
classifiers = [
22+
'Development Status :: 3 - Alpha',
23+
'Intended Audience :: Developers',
24+
'License :: OSI Approved :: BSD License',
25+
'Operating System :: OS Independent',
26+
'Programming Language :: Python',
27+
'Topic :: Software Development :: Libraries :: Python Modules',
28+
],
29+
)

0 commit comments

Comments
 (0)