diff --git a/doc/topics/install.rst b/doc/topics/install.rst index 9057bc8e74..00af702f56 100644 --- a/doc/topics/install.rst +++ b/doc/topics/install.rst @@ -22,7 +22,6 @@ Prerequisites (http://github.com/chtd/psycopg2cffi) * Optional: pydot (http://code.google.com/p/pydot/) * Optional: sphinx (http://sphinx.pocoo.org/) - * Optional: cdecimal (http://www.bytereef.org/mpdecimal/index.html) * Optional: python-Levenshtein (http://github.com/miohtama/python-Levenshtein) * Optional: bcrypt (https://github.com/pyca/bcrypt) diff --git a/setup.py b/setup.py index ddf71f4c73..c8178bbb87 100644 --- a/setup.py +++ b/setup.py @@ -108,7 +108,6 @@ setup(name=name, extras_require={ 'PostgreSQL': pg_require, 'graphviz': ['pydot'], - 'cdecimal': ['cdecimal'], 'Levenshtein': ['python-Levenshtein'], 'BCrypt': ['bcrypt'], 'html2text': ['html2text'], diff --git a/trytond/tests/test_exportdata.py b/trytond/tests/test_exportdata.py index e43a45a6a6..b18200ce52 100644 --- a/trytond/tests/test_exportdata.py +++ b/trytond/tests/test_exportdata.py @@ -1,14 +1,6 @@ # -*- coding: utf-8 -*- # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. -import sys -try: - import cdecimal - if 'decimal' not in sys.modules: - sys.modules['decimal'] = cdecimal -except ImportError: - import decimal - sys.modules['cdecimal'] = decimal import unittest from decimal import Decimal import datetime