From ef15905d31809bdf05d6f46241459f5d65748b94 Mon Sep 17 00:00:00 2001 From: Karim Hamidou Date: Thu, 20 Oct 2016 07:05:55 -0700 Subject: [PATCH] Get ready for PyPI distribution. --- lptrace.py => lptrace | 1 + setup.cfg | 2 ++ setup.py | 14 ++++++++++++++ 3 files changed, 17 insertions(+) rename lptrace.py => lptrace (99%) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/lptrace.py b/lptrace similarity index 99% rename from lptrace.py rename to lptrace index 38d8e30..dbed96f 100644 --- a/lptrace.py +++ 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 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 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'], +) -- 2.43.0