diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f60de3c --- /dev/null +++ b/setup.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import os +import sys + +from distutils.core import setup + +# Publish shortcut. +if sys.argv[-1] == "publish": + os.system('python setup.py sdist upload') + sys.exit() + + +required = [ + 'zope.interface==3.7.0', + 'clint==0.2.4' +] + + + + +if sys.version_info[0:2] < (2, 6): + required.append('simplejson') + +setup( + name='sshit', + version='0.0.0', + description='SSH it up.', + long_description=open('README.rst').read(), + author='Kenneth Reitz', + author_email='me@kennethreitz.com', + url='https://github.com/kennethreitz/sshit', + packages= ['sshit'], + install_requires=required, + license='ISC', + classifiers=( +# 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'Natural Language :: English', + 'License :: OSI Approved :: ISC License (ISCL)', + 'Programming Language :: Python', + # 'Programming Language :: Python :: 2.5', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + # 'Programming Language :: Python :: 3.0', + # 'Programming Language :: Python :: 3.1', + ), + entry_points = { + 'console_scripts': [ + 'sshit = sshit.cli:main' + ] + } +) diff --git a/sshit/__init__.py b/sshit/__init__.py new file mode 100644 index 0000000..ef1b372 --- /dev/null +++ b/sshit/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from .core import * \ No newline at end of file diff --git a/sshit/cli.py b/sshit/cli.py new file mode 100644 index 0000000..47ccdc2 --- /dev/null +++ b/sshit/cli.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- + + + +def dependencies_available(): + pass + +def main(): + pa \ No newline at end of file diff --git a/sshit/core.py b/sshit/core.py new file mode 100644 index 0000000..05a5025 --- /dev/null +++ b/sshit/core.py @@ -0,0 +1,15 @@ +# -*- coding: utf-8 -*- + +""" +sshit.core +~~~~~~~~~~ + +This module contains the primary functionality of sshit. +""" + +# from collections import namedtuple + +# Dependency = namedtuple('Dependency', ['name', 'type']) + +# dependencies = Dependency + diff --git a/sshit/sshserver.py b/sshit/sshserver.py new file mode 100644 index 0000000..e69de29