From 92df96883c15c6a8f3ffa51ad15473a01210c231 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 22 Jun 2016 10:39:03 -0400 Subject: [PATCH] add initial package files --- .gitignore | 4 ++++ LICENSE | 17 +++++++++++++++++ bin/simple-svn-browser | 6 ++++++ setup.py | 14 ++++++++++++++ simplesvnbrowser/__init__.py | 0 simplesvnbrowser/cli.py | 2 ++ 6 files changed, 43 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100755 bin/simple-svn-browser create mode 100644 setup.py create mode 100644 simplesvnbrowser/__init__.py create mode 100644 simplesvnbrowser/cli.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aea882f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/build/ +/dist/ +*.pyc +/*.egg-info/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7a7ba0a --- /dev/null +++ b/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) 2016 Josh Holtrop + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgement in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. diff --git a/bin/simple-svn-browser b/bin/simple-svn-browser new file mode 100755 index 0000000..ff2bd11 --- /dev/null +++ b/bin/simple-svn-browser @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +import sys +import simplesvnbrowser.cli + +simplesvnbrowser.cli.run(sys.argv) diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a461239 --- /dev/null +++ b/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup + +setup(name = "simplesvnbrowser", + version = "0.0.1", + description = "A simple subversion repository browser application", + url = "https://github.com/holtrop/simple-svn-browser", + author = "Josh Holtrop", + author_email = "jholtrop@gmail.com", + license = "zlib", + packages = ["simplesvnbrowser"], + zip_safe = False, + + scripts = ["bin/simple-svn-browser"], + ) diff --git a/simplesvnbrowser/__init__.py b/simplesvnbrowser/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/simplesvnbrowser/cli.py b/simplesvnbrowser/cli.py new file mode 100644 index 0000000..629d469 --- /dev/null +++ b/simplesvnbrowser/cli.py @@ -0,0 +1,2 @@ +def run(argv): + print(argv)