thirdparty/python-graph/setup.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sun, 30 Nov 2008 16:39:18 +0000
changeset 626 342bebadd075
parent 594 06c2228e39cb
permissions -rwxr-xr-x
Fix too long lines in soc.views.models.request, remove unused imports and change pending requests list description. Remove unused imports from soc.logic.path_link_name module. Patch by: Pawel Solyga

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from distutils.core import setup
import os

# Startup
appname = "python-graph"
appversion = "1.3.1"
docfolder = 'share/doc/' + appname + '-' + appversion + '/'
docfolder = os.path.normcase(docfolder)
docfiles = os.listdir('docs')
docs = os.path.normcase('docs/')
for i in xrange(len(docfiles)):
        docfiles[i] = docs + docfiles[i]

setup(
        name = appname,
        version = appversion,
        packages = ['graph'],
        data_files = [(docfolder, ['README','Changelog','COPYING']),
                                (docfolder + docs, docfiles),
                                ],

        # metadata
        author = "Pedro Matiello",
        author_email = "pmatiello@gmail.com",
        description = "A library for working with graphs in Python",
        license = "MIT",
        keywords = "python graph algorithms library",
        url = "http://code.google.com/p/python-graph/",
        classifiers = ["License :: OSI Approved :: MIT License","Topic :: Software Development :: Libraries :: Python Modules"],
        long_description = "python-graph is a library for working with graphs in Python. This software provides a suitable data structure for representing graphs and a whole set of important algorithms."
)