From 31795edc22fdbec76e284da31111b19b868282b7 Mon Sep 17 00:00:00 2001 From: glebarez Date: Sat, 8 Jun 2019 20:55:38 +0300 Subject: [PATCH] ready for PyPI --- perfy.py | 2 +- setup.cfg | 2 ++ setup.py | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/perfy.py b/perfy.py index a1a446d..3274dc5 100644 --- a/perfy.py +++ b/perfy.py @@ -12,7 +12,7 @@ from functools import wraps from copy import deepcopy -__version__ = '0.2' +__version__ = '0.21' class Perfy(): '''Perfy - a simple performance tracer diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..224a779 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e8123af --- /dev/null +++ b/setup.py @@ -0,0 +1,26 @@ +from distutils.core import setup +setup( + name = 'perfy', + packages = ['perfy'], + version = '0.21', + license='MIT', + description = 'Perfy - a lightweight performance tracer for python', + author = 'Gleb Sakhnov', + author_email = 'gleb.sakhnov@gmail.com', + url = 'https://github.com/glebarez/perfy', + download_url = 'https://github.com/user/reponame/archive/v_01.tar.gz', # I explain this later on + keywords = ['profiling', 'trace', 'runtime', 'analysis'], + install_requires=[], + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'Topic :: Software Development :: Profiling Tools', + 'Topic :: Software Development :: Performance Tools', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + ], +) \ No newline at end of file