Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
89 lines (86 loc) · 2.97 KB
/
Copy pathsetup.py
File metadata and controls
89 lines (86 loc) · 2.97 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# -*- coding: utf-8 -*-
from setuptools import find_namespace_packages
from setuptools import setup
version = '2.0.2.dev0'
setup(
name='collective.xsendfile',
version=version,
description="Offload ZODB BLOB download to front end web server using "
"XSendfile/HTTP-Accel protocol",
long_description=(
open("README.rst").read() +
"\n" +
open("CHANGES.rst").read()
),
long_description_content_type='text/x-rst',
# Get more strings from https://pypi.org/classifiers/
classifiers=[
'Programming Language :: Python',
'Framework :: Plone',
'Framework :: Plone :: Addon',
'Framework :: Plone :: 6.0',
'Framework :: Plone :: 6.1',
'Framework :: Plone :: 6.2',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Development Status :: 5 - Production/Stable',
],
keywords='sendfile httpaccel zodb blob',
author='BlueDynamics Alliance',
author_email='dev@bluedynamics.com',
url='https://github.com/collective/collective.xsendfile',
project_urls={
'Source': 'https://github.com/collective/collective.xsendfile',
'Issues': 'https://github.com/collective/collective.xsendfile/issues',
'Changelog': 'https://github.com/collective/collective.xsendfile/blob/master/CHANGES.rst',
},
license_expression='GPL-2.0-or-later',
license_files=['LICENSE'],
packages=find_namespace_packages(include=['collective.*']),
include_package_data=True,
zip_safe=False,
python_requires='>=3.10',
install_requires=[
# -*- Extra requirements: -*-
'Plone',
'collective.monkeypatcher',
],
extras_require={
'test': [
'plone.app.testing',
'zope.testrunner',
'coverage',
],
'lint': [
'flake8',
'black',
'zpretty',
],
# Optional S3 blob delivery support. Not pulled in by the base
# package: install via ``collective.xsendfile[s3blobs]``.
# zodb-s3blobs 1.2.0 is the first release that provides IMVCCStorage,
# without which the S3BlobStorage can't be found from a connection.
's3blobs': [
'zodb-s3blobs>=1.2.0',
],
# What the S3 tests need on top of ``test``: the s3blobs extra, moto
# for a mock S3, and relstorage[sqlite3] as an in-process storage that
# exposes the commit TID the way production's does.
'test-s3blobs': [
'collective.xsendfile[s3blobs]',
'moto[s3]',
'relstorage[sqlite3]',
],
},
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
[plone.autoinclude.plugin]
target = plone
module = collective.xsendfile
""",
)