-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
69 lines (62 loc) · 1.77 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
69
from setuptools import setup, find_packages
requires = [
# core
'requests[socks]>=2.18.4',
'pysocks>=1.6.8',
'gevent',
'netaddr', # to allow/block ips to proxy
# proxy fetcher utils
'pycountry',
'pycountry-convert>=0.6',
'pytimeparse',
'lxml>=3.7.3',
'js2py',
'cfscrape', # note that `node` binary is required
'cssselect>=1.0.1', # lxml requirement for css selectors
# cli
'click',
'pyyaml',
# development
'ipython',
'pdbpp',
'coloredlogs',
# tests
'requests-mock',
'pytest>=1.3',
'pytest-cov',
'pytest-flake8',
# for memory leak debug
# 'mem_top', # see /mem_top on superproxy
# 'pillow', # dozer requirement
# 'dozer', # see /_dozer on superproxy
]
setup(
name='proxytools',
version='0.0.3',
description='http://github.com/vgavro/proxytools',
long_description='http://github.com/vgavro/proxytools',
license='BSD',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
],
author='Victor Gavro',
author_email='[email protected]',
url='http://github.com/vgavro/proxytools',
keywords='',
packages=find_packages(),
install_requires=requires,
package_data={'': ['superproxy.html', 'user_agents.txt']},
include_package_data=True,
entry_points={
'console_scripts': [
'proxyfetcher=proxytools.cli:proxyfetcher',
# 'proxychecker=proxytools.cli:proxychecker',
'superproxy=proxytools.cli:superproxy',
],
},
)