Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Installed the packaging and basic boiler plate files.
- Loading branch information
1 parent
f05b4a1
commit 3bd9643
Showing
8 changed files
with
215 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
No Gnews is Good Gnews. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
NAME | ||
spongex | ||
|
||
DESCRIPTION | ||
|
||
The idea behind Project Sponge is to provide some tools to measure an OSS project�s | ||
vitality. The concept I will use is similar to an APGAR test when a baby is born. A | ||
n APGAR test checks the vitals several times after the birth (at birth, and then throughout | ||
the next hour or two of life). For an OSS project, you should be checking what I will call | ||
the Project Vitality: The vital stats and data showing how well an OSS project is doing at | ||
a given point in time. Since Project Vitality can be a relative measure, it is important to | ||
be able to compare the Project Vitality to past measurements. The Vitality Dashboard is the | ||
visual report of Project Vitality over time. This is targeted at OSS project leads, and | ||
specifically, to help commercial open source types to justify the open source approach to | ||
management by promises to track progress using some reasonable metrics for success and signs | ||
of life. Ideally, sponge can evolve into a sort of OSS Project Analytics tool. | ||
|
||
INSTALL | ||
python setup.py install | ||
or | ||
python setup.py install --prifix=/foo/path (to install under /foo/path, useful for Macs) | ||
|
||
USAGE | ||
spongex -c=[config file path] | ||
|
||
examples: | ||
|
||
* spongex ../../../examples/luffaproject.conf | ||
|
||
help: spongex -u | ||
|
||
Send comments, suggestions and bug reports to dkords@gmail.com | ||
|
||
-- David J. Kordsmeier | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
#!/usr/bin/env python | ||
try: | ||
from setuptools import setup, find_packages | ||
except: | ||
from distutils.core import setup | ||
|
||
import sys | ||
import os | ||
|
||
import sponge.PkgInfo | ||
|
||
if float("%d.%d" % sys.version_info[:2]) < 2.5: | ||
sys.stderr.write("Your Python version %d.%d.%d is not supported.\n" % sys.version_info[:3]) | ||
sys.stderr.write("sponge requires Python 2.5 or newer.\n") | ||
sys.exit(1) | ||
|
||
try: | ||
## Remove 'MANIFEST' file to force | ||
## distutils to recreate it. | ||
## Only in "sdist" stage. Otherwise | ||
## it makes life difficult to packagers. | ||
if sys.argv[1] == "sdist": | ||
os.unlink("MANIFEST") | ||
except: | ||
pass | ||
|
||
## Don't install manpages and docs when $sponge_PACKAGING is set | ||
## This was a requirement of Debian package maintainer. | ||
if not os.getenv("sponge_PACKAGING"): | ||
man_path = os.getenv("sponge_INSTPATH_MAN") or "share/man" | ||
doc_path = os.getenv("sponge_INSTPATH_DOC") or "share/doc/packages" | ||
data_files = [ | ||
(doc_path+"/sponge", [ "README", "INSTALL", "NEWS" ]), | ||
(man_path+"/man1", [ "spongex.1" ] ), | ||
] | ||
else: | ||
data_files = None | ||
|
||
## XXX TODO: Fix the Topic | ||
classifiers = [ | ||
'Development Status :: 3 - Alpha' | ||
, 'Environment :: Console' | ||
, 'Intended Audience :: Developers' | ||
, 'License :: OSI Approved :: BSD License' | ||
, 'Natural Language :: English' | ||
, 'Operating System :: MacOS :: MacOS X' | ||
, 'Operating System :: POSIX' | ||
, 'Programming Language :: Python' | ||
, 'Topic :: Internet :: WWW/HTTP :: WSGI :: Server' | ||
] | ||
|
||
## Main distutils info | ||
setup( | ||
## Content description | ||
name = sponge.PkgInfo.package, | ||
version = sponge.PkgInfo.version, | ||
## packages = [ 'sponge', 'sponge.tools' ], | ||
packages = find_packages(), | ||
scripts = ['spongex'], | ||
data_files = data_files, | ||
|
||
## Packaging details | ||
author = "David J. kordsmeier", | ||
author_email = "dkords@gmail.com", | ||
url = sponge.PkgInfo.url, | ||
license = sponge.PkgInfo.license, | ||
description = sponge.PkgInfo.short_description, | ||
long_description = """ | ||
%s | ||
Authors: | ||
-------- | ||
David J. Kordsmeier <dkords@gmail.com> | ||
""" % (sponge.PkgInfo.long_description) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package = "sponge" | ||
version = "0.1.1" | ||
url = "http://github.com/truedat101/sponge/tree/master" | ||
license = "BSD License" | ||
short_description = "Sponge makes it easy to track your Open Source Project Vitality" | ||
long_description = """ | ||
Sponge makes it easy to track your Open Source Project Vitality by allowing you to script the | ||
process of data gathering key stats and provide some analysis on the vitality. | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters