diff options
Diffstat (limited to 'graphics/py-graph-core/files/patch-setup.py')
-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" |