Fetching contributors…
Cannot retrieve contributors at this time
executable file 49 lines (40 sloc) 1.24 KB
#!/usr/bin/env python
from fuzz import __version__
VERSION = "%s.%s.%s" % __version__[0:3]
from setuptools import setup
from distutils.cmd import Command
from shutil import rmtree
from glob import glob
import os
import sys
import epydoc.cli
NAME = 'fuzzpy'
URL = ''
PACKAGE = 'fuzz'
class GenerateDoc(Command):
user_options = []
def initialize_options(self):
def finalize_options(self):
def run(self):
rmtree('doc', ignore_errors=True)
# okay, this is a bit of a hack
sys.argv = ['epydoc', '-v', '--name', NAME, '--url', URL, '-o', 'doc', PACKAGE]
options, names = epydoc.cli.parse_arguments()
epydoc.cli.main(options, names)
name = NAME,
version = VERSION,
license = "LGPL",
description = "Library for fuzzy sets, fuzzy graphs, and general fuzzy mathematics for Python.",
author = "Aaron Mavrinac",
author_email = "",
url = URL,
download_url = "" % VERSION,
keywords = "fuzzy set graph math",
packages = [PACKAGE, PACKAGE + ".visplugins"],
test_suite = "test",
cmdclass = {'doc': GenerateDoc},