Skip to content

Commit

Permalink
Merge 8633406 into d55def5
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Walladge committed May 10, 2019
2 parents d55def5 + 8633406 commit cc8bdcc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 29 deletions.
6 changes: 0 additions & 6 deletions README.rst
Expand Up @@ -62,12 +62,6 @@ pip (stable version)
pip3 install piqueserver
to install with the optional ssh server

.. code:: bash
pip3 install piqueserver[ssh]
git (bleeding edge)
~~~~~~~~~~~~~~~~~~~

Expand Down
13 changes: 4 additions & 9 deletions piqueserver/ssh.py
Expand Up @@ -17,15 +17,10 @@

import sys
from os import path
try:
from twisted.cred import portal, checkers
from twisted.conch import manhole, manhole_ssh
from twisted.conch.ssh import keys
except ImportError as e:
print("ERROR: piqueserver was not installed with the [ssh] option")
print("but SSH was enabled in the settings")
print(e)
sys.exit(1)

from twisted.cred import portal, checkers
from twisted.conch import manhole, manhole_ssh
from twisted.conch.ssh import keys

from piqueserver.config import config

Expand Down
10 changes: 3 additions & 7 deletions requirements.txt
@@ -1,6 +1,6 @@
# core
Cython>=0.27,<1
Twisted[tls]>=17
Twisted[tls]
Jinja2>=2,<3
pyenet
toml
Expand All @@ -9,11 +9,7 @@ aiohttp>=3.3.0,<3.6.0
packaging>=19.0

# from command
pygeoip>=0.3.2,<0.4

# ssh
cryptography
pyasn1
geoip2>=2.9,<3.0

# windows specific
pypiwin32; platform_system=="Windows"
pypiwin32; platform_system=="Windows"
9 changes: 2 additions & 7 deletions setup.py
Expand Up @@ -136,8 +136,8 @@ def run(self):
install_requires=[
'pypiwin32;platform_system=="Windows"',
'Cython>=0.27,<1',
'Twisted[tls]>=17,<19',
'Jinja2>=2,<3', # status server is part of our 'vanilla' package
'Twisted[tls]',
'Jinja2>=2,<3',
'pypng==0.0.19',
'aiohttp>=3.3.0,<3.6.0',
'pyenet',
Expand All @@ -146,11 +146,6 @@ def run(self):
],
extras_require={
'from': ['geoip2>=2.9,<3.0'],
# 'statusserver': ['Jinja2>=2.8,<2.9', 'pypng==0.0.19'],
'ssh': [
'cryptography>=2.1.4,<2.2',
'pyasn1>=0.4.2,<0.5'
]
},
entry_points={
'console_scripts': [
Expand Down

0 comments on commit cc8bdcc

Please sign in to comment.