Skip to content

Commit fbb9f83

Browse files
committed
Add setup scripts
1 parent cf55445 commit fbb9f83

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44
*.log
55
.~lock.*
66
tags
7+
django_validated_file.egg-info
8+
versiontools-1.9.1-py2.7.egg
9+
710

setup.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
4+
from setuptools import setup, find_packages
5+
import validatedfile
6+
7+
setup(
8+
name = 'django-validated-file',
9+
version = ":versiontools:validatedfile:",
10+
description = "This Django app adds two field types, ValidatedFileField and ValidatedImageField, that add the capability of checking the document size and types the user may send.",
11+
long_description = "",
12+
keywords = 'django, filefield, validation',
13+
author = u'Andrés Moya Velázquez',
14+
author_email = '[email protected]',
15+
url = 'https://github.com/kaleidos/django-validated-file',
16+
license = 'GPL3',
17+
include_package_data = True,
18+
packages = find_packages(),
19+
install_requires=[
20+
'distribute',
21+
],
22+
setup_requires = [
23+
'versiontools >= 1.8',
24+
],
25+
classifiers = [
26+
"Programming Language :: Python",
27+
'Development Status :: 2 - Pre-Alpha',
28+
'Framework :: Django',
29+
'Intended Audience :: Developers',
30+
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
31+
'Operating System :: OS Independent',
32+
'Topic :: Internet :: WWW/HTTP',
33+
]
34+
)

validatedfile/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = (0, 0, 1, "final", 0)

0 commit comments

Comments
 (0)