X Tutup
Skip to content

Commit 2d5d691

Browse files
authored
Merge pull request qwj#6 from moreati/extras_require
Declare pycryptodome as an optional dependency called 'accelerated'
2 parents d45aed5 + ad2e839 commit 2d5d691

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Optional: (better performance with C ciphers)
2929

3030
.. code:: rst
3131
32-
$ pip3 install pycryptodome
32+
$ pip3 install pproxy[accelerated]
3333
Successfully installed pycryptodome-3.6.4
3434
3535
Apply OS system-wide proxy: (MacOS, Windows)

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ def find_version(*file_paths):
3838
],
3939
keywords='proxy socks http shadowsocks redirect tunnel cipher ssl',
4040
packages=['pproxy'],
41+
extras_require={
42+
'accelerated': [
43+
'pycryptodome',
44+
],
45+
},
4146
install_requires=[],
4247
entry_points={
4348
'console_scripts': [

0 commit comments

Comments
 (0)
X Tutup