attempt with python ssh tunnelier
This commit is contained in:
28
py-packages/sshtunnelier/setup.py
Normal file
28
py-packages/sshtunnelier/setup.py
Normal file
@@ -0,0 +1,28 @@
|
||||
import os
|
||||
from distutils.core import setup
|
||||
|
||||
|
||||
def version_reader(path):
|
||||
for line in open(path, "rt").read(1024).split("\n"):
|
||||
if line.startswith("__version__"):
|
||||
return line.split("=")[1].strip().replace('"', "")
|
||||
|
||||
|
||||
version = version_reader(os.path.join("sshtunnelier", "__init__.py"))
|
||||
|
||||
setup(
|
||||
name="sshtunnelier",
|
||||
packages=["sshtunnelier"],
|
||||
version=version,
|
||||
description="SSH tunnel manager (yet another)",
|
||||
author="Ville Rantanen",
|
||||
author_email="q@six9.net",
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"ssh-tunnelier = sshtunnelier:main",
|
||||
]
|
||||
},
|
||||
install_requires=[
|
||||
"psutil",
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user