]> khamidou — GitHub mirrors - lptrace.git/commitdiff
Get ready for PyPI distribution.
authorKarim Hamidou <khamidou@gmail.com>
Thu, 20 Oct 2016 14:05:55 +0000 (07:05 -0700)
committerKarim Hamidou <khamidou@gmail.com>
Thu, 20 Oct 2016 14:05:55 +0000 (07:05 -0700)
lptrace [moved from lptrace.py with 99% similarity]
setup.cfg [new file with mode: 0644]
setup.py [new file with mode: 0644]

similarity index 99%
rename from lptrace.py
rename to lptrace
index 38d8e30f4c22889a9e6d7ac42c2775ca1df451ea..dbed96f2228fbeed6664346c23bb80ee76a552cd 100644 (file)
+++ b/lptrace
@@ -1,3 +1,4 @@
+#!/usr/bin/env python2
 # lptrace - Copyright (c) 2016 Karim Hamidou.
 # Portions inspired by Pyrasite.
 
diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
index 0000000..b88034e
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[metadata]
+description-file = README.md
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..11968aa
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,14 @@
+from distutils.core import setup
+setup(
+  name = 'lptrace',
+  packages = [], # this must be the same as the name above
+  version = '1.0.0',
+  description = 'lptrace is strace for Python. It lets you trace any running Python program.',
+  author = 'Karim Hamidou',
+  author_email = 'hello@khamidou.com',
+  url = 'https://github.com/khamidou/lptrace',
+  download_url = 'http://github.com/khamidou/lptrace/tarball/1.0.0',
+  keywords = ['debugging', 'production', 'tracing'],
+  classifiers = [],
+  scripts=['lptrace'],
+)