Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 610ecca

Browse files
committed
Merged revisions 6665-6668 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_98_5_maint ........ r6665 | jdh2358 | 2008-12-18 08:29:51 -0800 (Thu, 18 Dec 2008) | 1 line removed some configobj and traits detritus ........ r6666 | jdh2358 | 2008-12-18 08:31:44 -0800 (Thu, 18 Dec 2008) | 1 line tagging release 0.98.5.2 ........ r6667 | jdh2358 | 2008-12-18 09:02:41 -0800 (Thu, 18 Dec 2008) | 1 line removed mpl_data ........ r6668 | jdh2358 | 2008-12-18 09:03:47 -0800 (Thu, 18 Dec 2008) | 1 line retagging for 98.5.2 ........ svn path=/trunk/matplotlib/; revision=6669
1 parent 04e59e0 commit 610ecca

5 files changed

Lines changed: 9 additions & 60 deletions

File tree

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
2008-12-18 add new arrow style, a line + filled triangles. -JJL
22

3+
==================================================================
4+
2008-12-18 Released 0.98.5.2 from v0_98_5_maint at r6667
5+
6+
2008-12-18 Removed configobj, experimental traits and doc/mpl_data link - JDH
7+
38
2008-12-18 Fix bug where a line with NULL data limits prevents
49
subsequent data limits from calculating correctly - MGD
510

doc/api/api_changes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ list may help describe what changes may be necessary in your code.
1515

1616
Changes for 0.98.x
1717
==================
18+
* Removed the configobj and experiemtnal traits rc support
1819

1920
* Modified :func:`matplotlib.mlab.psd`, :func:`matplotlib.mlab.csd`,
2021
:func:`matplotlib.mlab.cohere`, and :func:`matplotlib.mlab.specgram`

doc/mpl_data

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
from distutils.core import setup
3636
from setupext import build_agg, build_gtkagg, build_tkagg, build_wxagg,\
3737
build_macosx, build_ft2font, build_image, build_windowing, build_path, \
38-
build_contour, build_delaunay, build_nxutils, build_traits, build_gdk, \
38+
build_contour, build_delaunay, build_nxutils, build_gdk, \
3939
build_ttconv, print_line, print_status, print_message, \
4040
print_raw, check_for_freetype, check_for_libpng, check_for_gtk, \
4141
check_for_tk, check_for_wx, check_for_macosx, check_for_numpy, \
42-
check_for_qt, check_for_qt4, check_for_cairo, check_for_traits, \
43-
check_provide_pytz, check_provide_dateutil, check_for_configobj, \
42+
check_for_qt, check_for_qt4, check_for_cairo, \
43+
check_provide_pytz, check_provide_dateutil,\
4444
check_for_dvipng, check_for_ghostscript, check_for_latex, \
4545
check_for_pdftops, check_for_datetime, options, build_png
4646
#import distutils.sysconfig
@@ -217,14 +217,6 @@ def add_dateutil():
217217
check_for_latex()
218218
check_for_pdftops()
219219

220-
# TODO: comment out for mpl release:
221-
print_raw("")
222-
print_raw("EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES")
223-
has_configobj = check_for_configobj()
224-
has_traits = check_for_traits()
225-
if has_configobj and has_traits:
226-
packages.append('matplotlib.config')
227-
228220
print_raw("")
229221
print_raw("[Edit setup.cfg to suppress the above messages]")
230222
print_line()

setupext.py

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
BUILT_CONTOUR = False
8484
BUILT_DELAUNAY = False
8585
BUILT_NXUTILS = False
86-
BUILT_TRAITS = False
8786
BUILT_CONTOUR = False
8887
BUILT_GDK = False
8988
BUILT_PATH = False
@@ -434,36 +433,6 @@ def check_provide_dateutil(hasdatetime=True):
434433
print_status("dateutil", "present, version unknown")
435434
return False
436435

437-
def check_for_configobj():
438-
try:
439-
import configobj
440-
except ImportError:
441-
print_status("configobj", "no")
442-
return False
443-
else:
444-
print_status("configobj", configobj.__version__)
445-
return True
446-
447-
def check_for_traits():
448-
try:
449-
from enthought import traits
450-
try:
451-
from enthought.traits import version
452-
except:
453-
print_status("enthought.traits", "unknown and incompatible version: < 2.0")
454-
return False
455-
else:
456-
# traits 2 and 3 store their version strings in different places:
457-
try:
458-
version = version.version
459-
except AttributeError:
460-
version = version.__version__
461-
print_status("enthought.traits", version)
462-
return True
463-
except ImportError:
464-
print_status("enthought.traits", "no")
465-
return False
466-
467436
def check_for_dvipng():
468437
try:
469438
stdin, stdout = run_child_process('dvipng -version')
@@ -1316,23 +1285,6 @@ def build_image(ext_modules, packages):
13161285
BUILT_IMAGE = True
13171286

13181287

1319-
def build_traits(ext_modules, packages):
1320-
global BUILT_TRAITS
1321-
if BUILT_TRAITS:
1322-
return # only build it if you you haven't already
1323-
1324-
ctraits = Extension('enthought.traits.ctraits',
1325-
['lib/enthought/traits/ctraits.c'])
1326-
ext_modules.append(ctraits)
1327-
packages.extend(['enthought',
1328-
'enthought/etsconfig',
1329-
'enthought/traits',
1330-
'enthought/traits/ui',
1331-
'enthought/traits/ui/extras',
1332-
'enthought/traits/ui/null',
1333-
'enthought/traits/ui/tk',
1334-
])
1335-
BUILT_TRAITS = True
13361288

13371289
def build_delaunay(ext_modules, packages):
13381290
global BUILT_DELAUNAY

0 commit comments

Comments
 (0)