mirror of https://github.com/huashengdun/webssh
Sheng
7 years ago
5 changed files with 66 additions and 12 deletions
@ -0,0 +1,7 @@
|
||||
[metadata] |
||||
license_file = LICENSE |
||||
|
||||
|
||||
[flake8] |
||||
exclude = .git,build,dist,tests, __init__.py |
||||
max-line-length = 79 |
@ -0,0 +1,46 @@
|
||||
import codecs |
||||
from setuptools import setup |
||||
from webssh._version import __version__ as version |
||||
|
||||
|
||||
starts = [u'### Preview', u'![Login]', u'![Terminal]'] |
||||
|
||||
|
||||
def starts_with(line): |
||||
for start in starts: |
||||
if line.startswith(start): |
||||
return True |
||||
|
||||
|
||||
with codecs.open('README.md', encoding='utf-8') as f: |
||||
long_description = ''.join(line for line in f if not starts_with(line)) |
||||
|
||||
|
||||
setup( |
||||
name='webssh', |
||||
version=version, |
||||
description='Web based ssh client', |
||||
long_description=long_description, |
||||
author='Shengdun Hua', |
||||
author_email='webmaster0115@gmail.com', |
||||
url='https://github.com/huashengdun/webssh', |
||||
packages=['webssh'], |
||||
entry_points=''' |
||||
[console_scripts] |
||||
wssh = webssh.main:main |
||||
''', |
||||
license='MIT', |
||||
classifiers=[ |
||||
'Programming Language :: Python', |
||||
'Programming Language :: Python :: 2', |
||||
'Programming Language :: Python :: 2.7', |
||||
'Programming Language :: Python :: 3', |
||||
'Programming Language :: Python :: 3.4', |
||||
'Programming Language :: Python :: 3.5', |
||||
'Programming Language :: Python :: 3.6', |
||||
], |
||||
install_requires=[ |
||||
'tornado>=4.5.0', |
||||
'paramiko>=2.3.1', |
||||
], |
||||
) |
@ -0,0 +1,4 @@
|
||||
from webssh._version import __version__, __version_info__ |
||||
|
||||
|
||||
__author__ = 'Shengdun Hua <webmaster0115@gmail.com>' |
Loading…
Reference in new issue