summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-07-31 15:54:25 +0300
committerLars Wirzenius <liw@liw.fi>2017-07-31 15:54:25 +0300
commit826108f5ddb0b4bc49340052b7a85d6e0e04288f (patch)
tree92e7957500f9a2c63158647d56c4fc58d15f0c0f
parent7d799b85d6644fc1676b21277ce758b5bd313a5b (diff)
downloadslog-826108f5ddb0b4bc49340052b7a85d6e0e04288f.tar.gz
Add: setup.py
-rw-r--r--setup.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..b599c7d
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,31 @@
+#!/usr/bin/python
+# Copyright (C) 2017 Lars Wirzenius <liw@liw.fi>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+from distutils.core import setup
+
+import slog
+
+setup(
+ name='slog',
+ version=slog.__version__,
+ description='structured logging for Python',
+ author='Lars Wirzenius',
+ author_email='liw@liw.fi',
+ url='http://liw.fi/slog/',
+ scripts=['slog-pretty', 'slog-errors'],
+ packages=['slog'],
+)