forked from it-spirit/z3c.namedfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (62 loc) · 1.89 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- coding: utf-8 -*-
"""Installer for the z3c.namedfile package."""
from setuptools import find_packages
from setuptools import setup
version = '0.5.dev0'
description = (
'File types and fields for images, files and blob files with '
'filenames.'
)
long_description = '\n\n'.join([
open('README.rst').read(),
open('CONTRIBUTORS.rst').read(),
open('CHANGES.rst').read(),
])
install_requires = [
'setuptools',
# -*- Extra requirements: -*-
'zope.app.file',
]
test_requires = [
'Pillow',
]
setup(
name='z3c.namedfile',
version=version,
description=description,
long_description=long_description,
# Get more strings from
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Zope3',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Zope',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='zope named file image blob',
author='it-spirit',
author_email='[email protected]',
url='https://github.com/it-spirit/z3c.namedfile',
download_url='https://pypi.python.org/pypi/z3c.namedfile',
license='GPL version 2',
packages=find_packages('src', exclude=['ez_setup']),
package_dir={'': 'src'},
namespace_packages=['z3c'],
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={
'blobs': [
'z3c.blobfile',
],
'test': test_requires,
},
)