warcprox/setup.py

80 lines
2.7 KiB
Python
Raw Normal View History

2013-11-15 22:35:32 -08:00
#!/usr/bin/env python
'''
setup.py - setuptools installation configuration for warcprox
Copyright (C) 2013-2023 Internet Archive
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA.
'''
import sys
import setuptools
deps = [
2017-05-19 15:44:00 -07:00
'certauth==1.1.6',
2019-02-12 15:04:22 -08:00
'warctools>=4.10.0',
2019-03-21 12:59:32 -07:00
'urlcanon>=0.3.0',
2023-09-19 13:57:34 -07:00
'doublethink @ git+https://github.com/internetarchive/doublethink.git@Py311',
'urllib3>=1.23',
2019-02-12 15:04:22 -08:00
'requests>=2.0.1',
'PySocks>=1.6.8',
'cryptography>=2.3,<40',
'idna',
2019-03-21 19:34:52 +00:00
'PyYAML>=5.1',
'cachetools',
'rfc3986>=1.5.0',
]
try:
import concurrent.futures
except:
deps.append('futures')
setuptools.setup(
name='warcprox',
2024-06-04 11:46:59 -07:00
version='2.5.2',
2013-11-15 22:35:32 -08:00
description='WARC writing MITM HTTP/S proxy',
url='https://github.com/internetarchive/warcprox',
author='Noah Levitt',
author_email='nlevitt@archive.org',
long_description=open('README.rst').read(),
2013-11-15 22:35:32 -08:00
license='GPL',
packages=['warcprox'],
install_requires=deps,
2023-09-11 17:38:10 -07:00
extras_require={'trough': ['trough @ git+https://github.com/internetarchive/trough.git@jammy_focal',],},
setup_requires=['pytest-runner'],
tests_require=['mock', 'pytest', 'warcio'],
entry_points={
'console_scripts': [
2016-06-27 23:13:00 +00:00
'warcprox=warcprox.main:main',
('warcprox-ensure-rethinkdb-tables='
'warcprox.main:ensure_rethinkdb_tables'),
],
},
2013-12-19 17:03:40 -08:00
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License (GPL)',
2020-08-06 17:58:00 +02:00
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
2013-12-19 17:03:40 -08:00
'Topic :: Internet :: Proxy Servers',
'Topic :: Internet :: WWW/HTTP',
2013-12-19 17:08:13 -08:00
'Topic :: Software Development :: Libraries :: Python Modules',
2013-12-19 17:03:40 -08:00
'Topic :: System :: Archiving',
])