forked from johnsensible/django-sendfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (38 loc) · 1.35 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
from distutils.core import setup
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py
version = __import__('sendfile').__version__
setup(
name='django-sendfile',
version=version,
description='Abstraction to offload file uploads to web-server (e.g. Apache with mod_xsendfile) once Django has checked permissions etc.',
long_description=open('README.rst').read(),
author='John Montgomery',
author_email='[email protected]',
url='https://github.com/johnsensible/django-sendfile',
license='BSD',
requires=['Django (>=1.3)'],
install_requires=['Django>=1.3'],
packages=['sendfile', 'sendfile.backends'],
package_dir={
'sendfile': 'sendfile',
'sendfile.backends': 'sendfile/backends',
},
package_data={
'sendfile': ['testfile.txt'],
},
zip_safe=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
cmdclass={'build_py': build_py},
)