Menu

#1 setup.py file to install PyMetrics

closed
nobody
None
5
2007-09-19
2005-12-29
Anonymous
No

#This works on linux (not tested on mac,windows)
from distutils.core import setup
import os
setup(name="pymetrics",
version="0.7.6",
author="Reg. Charney",
author_email="charney@charneyday.com",
url="http://sourceforge.net/projects/pymetrics/",
description="Complexity Measurements for Python
code.",
long_description="""PyMetrics produces metrics
for Python programs.
Metrics include McCabe's Cyclomatic Complexity
metric, LoC, %Comments,
etc. Users can also define their own metrics
using data from PyMetrics.
PyMetrics outputs SQL command files and CSV
output.""",
scripts=["PyMetrics.py"],
extra_path="pymetrics", #make a "pymetrics"
directory to throw everything in
py_modules=["compute", "csvout", "doctestsw",
"globals", "halstead", "lexer",
"mccabe", "metricbase", "mytoken",
"output", "processargs",
"simple", "sloc", "sqldataout",
"sqltemplate", "sqltokenout",
"tokenize", "utils", "version"]
)

Discussion

  • Reginald B. Charney

    • status: open --> pending
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.