diff options
author | Yi-Jheng Lin <yzlin@FreeBSD.org> | 2010-05-12 13:39:30 +0000 |
---|---|---|
committer | Yi-Jheng Lin <yzlin@FreeBSD.org> | 2010-05-12 13:39:30 +0000 |
commit | 7eb81e0db9b476cf083e4ab4e26ab550b9eca671 (patch) | |
tree | d9549ccedd4fdac5e7fa855e8a47150447f5c945 /graphics/py-graph-core/files | |
parent | Fix LATEST_LINK (diff) |
- Update to 1.7.0
Approved by: lwhsu/rafan (mentors)
Diffstat (limited to 'graphics/py-graph-core/files')
-rw-r--r-- | graphics/py-graph-core/files/patch-setup.py | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/graphics/py-graph-core/files/patch-setup.py b/graphics/py-graph-core/files/patch-setup.py index 89d543f758fd..6493e52e6717 100644 --- a/graphics/py-graph-core/files/patch-setup.py +++ b/graphics/py-graph-core/files/patch-setup.py @@ -1,26 +1,19 @@ + +$FreeBSD$ + --- setup.py.orig +++ setup.py -@@ -4,12 +4,7 @@ +@@ -3,12 +3,7 @@ + import os - import logging -try: - from setuptools import setup, find_packages --except ImportError, ie: +-except ImportError as ie: - import ez_setup - ez_setup.use_setuptools() - from setuptools import setup, find_packages +from setuptools import setup, find_packages # Startup - appname = "python-graph" -@@ -40,9 +35,6 @@ - name = appname, - version = appversion, - packages = ['pygraph', 'pygraph.algorithms', 'pygraph.algorithms.filters', 'pygraph.algorithms.heuristics', 'pygraph.classes', 'pygraph.readwrite'], -- 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", + appname = "python-graph-core" |