summaryrefslogtreecommitdiff
path: root/graphics/py-graph-dot/files/patch-setup.py
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2009-07-14 07:22:57 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2009-07-14 07:22:57 +0000
commitef6013d2a87f1b9ff07911b1bc8822fe02f1b739 (patch)
tree30ce7e5d6f480f63012a120a0743784c816dd73a /graphics/py-graph-dot/files/patch-setup.py
parent- Fix build with custom PREFIX (diff)
- Update to 1.6.1
PR: ports/136732 Submitted by: Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw> (maintainer)
Diffstat (limited to '')
-rw-r--r--graphics/py-graph-dot/files/patch-setup.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/py-graph-dot/files/patch-setup.py b/graphics/py-graph-dot/files/patch-setup.py
index 3e1fedeb3a42..89d543f758fd 100644
--- a/graphics/py-graph-dot/files/patch-setup.py
+++ b/graphics/py-graph-dot/files/patch-setup.py
@@ -1,6 +1,6 @@
--- setup.py.orig
+++ setup.py
-@@ -4,11 +4,7 @@
+@@ -4,12 +4,7 @@
import os
import logging
@@ -9,18 +9,18 @@
-except ImportError, ie:
- import ez_setup
- ez_setup.use_setuptools()
+- from setuptools import setup, find_packages
+from setuptools import setup, find_packages
# Startup
appname = "python-graph"
-@@ -37,8 +33,8 @@
+@@ -40,9 +35,6 @@
name = appname,
version = appversion,
- packages = ['graph', 'graph.algorithms', 'graph.algorithms.filters', 'graph.algorithms.heuristics', 'graph.classes'],
+ packages = ['pygraph', 'pygraph.algorithms', 'pygraph.algorithms.filters', 'pygraph.algorithms.heuristics', 'pygraph.classes', 'pygraph.readwrite'],
- data_files = [(docsdir,docsfiles),
- (datadir,datafiles)],
-+# data_files = [(docsdir,docsfiles),
-+# (datadir,datafiles)],
+- install_requires = ['pydot'],
author = "Pedro Matiello",
author_email = "pmatiello@gmail.com",
description = "A library for working with graphs in Python",