Add setuptools support #1

Merged
merged 2 commits into from Apr 7, 2012
View
5 .gitignore
@@ -0,0 +1,5 @@
+*.pyc
+*~
+build
+dist
+statprof.egg-info
View
7 .hgignore
@@ -0,0 +1,7 @@
+syntax: glob
+
+*.pyc
+*~
+build
+dist
+statprof.egg-info
View
25 setup.py
@@ -0,0 +1,25 @@
+#!/usr/bin/env python
+
+import os
+from setuptools import find_packages, setup
+
+def read(fname):
+ return open(os.path.join(os.path.dirname(__file__), fname)).read()
+
+setup(
+ name = "statprof",
+ version = "0.1",
+ author = "Jeff Muizelaar",
+ author_email = "jmuizelaar@mozilla.com",
+ description = ("Statistical profiling for Python"),
+ license = "LGPL",
+ keywords = "profiling",
+ url = "http://packages.python.org/statprof",
+ py_modules = ['statprof'],
+ long_description = read('README'),
+ classifiers = [
+ "Development Status :: 3 - Alpha",
+ "Topic :: Utilities",
+ "License :: OSI Approved :: LGPL License",
+ ],
+)