2013-11-15 22:35:32 -08:00
|
|
|
#!/usr/bin/env python
|
2016-06-27 14:18:21 -05:00
|
|
|
'''
|
|
|
|
setup.py - setuptools installation configuration for warcprox
|
|
|
|
|
2019-01-17 17:15:33 -08:00
|
|
|
Copyright (C) 2013-2019 Internet Archive
|
2016-06-27 14:18:21 -05:00
|
|
|
|
|
|
|
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.
|
|
|
|
'''
|
|
|
|
|
2014-01-17 12:13:39 -08:00
|
|
|
import sys
|
2015-11-13 01:17:35 +00:00
|
|
|
import setuptools
|
2014-01-17 12:13:39 -08:00
|
|
|
|
2015-11-13 01:17:35 +00:00
|
|
|
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',
|
|
|
|
'urlcanon>=0.1.dev16',
|
|
|
|
'doublethink>=0.2.0.dev87',
|
|
|
|
'urllib3>=1.14',
|
|
|
|
'requests>=2.0.1',
|
|
|
|
'PySocks>=1.6.8',
|
|
|
|
'cryptography>=2.3',
|
|
|
|
'idna>=2.5',
|
2019-03-21 19:18:55 +00:00
|
|
|
'PyYAML<=3.13',
|
2015-11-13 01:17:35 +00:00
|
|
|
]
|
2015-10-28 21:02:42 +00:00
|
|
|
try:
|
|
|
|
import concurrent.futures
|
|
|
|
except:
|
|
|
|
deps.append('futures')
|
|
|
|
|
2016-06-27 14:46:42 -05:00
|
|
|
setuptools.setup(
|
|
|
|
name='warcprox',
|
2019-02-27 12:36:35 -08:00
|
|
|
version='2.4b7.dev197',
|
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',
|
2018-07-17 16:35:05 +00:00
|
|
|
long_description=open('README.rst').read(),
|
2013-11-15 22:35:32 -08:00
|
|
|
license='GPL',
|
|
|
|
packages=['warcprox'],
|
2015-10-28 21:02:42 +00:00
|
|
|
install_requires=deps,
|
2018-02-07 16:06:46 -08:00
|
|
|
setup_requires=['pytest-runner'],
|
2017-11-08 13:26:59 -08:00
|
|
|
tests_require=['mock', 'pytest', 'warcio'],
|
2016-06-27 14:46:42 -05:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2016-06-27 23:13:00 +00:00
|
|
|
'warcprox=warcprox.main:main',
|
2016-06-30 15:24:40 -05:00
|
|
|
('warcprox-ensure-rethinkdb-tables='
|
|
|
|
'warcprox.main:ensure_rethinkdb_tables'),
|
2016-06-27 14:46:42 -05:00
|
|
|
],
|
|
|
|
},
|
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)',
|
2014-08-01 16:00:53 -07:00
|
|
|
'Programming Language :: Python :: 3.4',
|
2016-06-24 20:04:27 -05:00
|
|
|
'Programming Language :: Python :: 3.5',
|
2017-01-31 10:58:21 -08:00
|
|
|
'Programming Language :: Python :: 3.6',
|
2019-01-09 15:15:37 -08:00
|
|
|
'Programming Language :: Python :: 3.7',
|
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',
|
|
|
|
])
|
2013-11-15 22:35:32 -08:00
|
|
|
|