Remove cdecimal dependency
It is no more needed as it is standard under Python3
This commit is contained in:
@@ -7,7 +7,6 @@ Prerequisites
|
||||
* Python 3.4 or later (http://www.python.org/)
|
||||
* python-dateutil (http://labix.org/python-dateutil)
|
||||
* Optional: trytond (http://www.tryton.org/)
|
||||
* Optional: cdecimal (http://www.bytereef.org/mpdecimal/index.html)
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
@@ -4,14 +4,6 @@
|
||||
A library to access Tryton's models like a client.
|
||||
'''
|
||||
import sys
|
||||
try:
|
||||
import cdecimal
|
||||
# Use cdecimal globally
|
||||
if 'decimal' not in sys.modules:
|
||||
sys.modules['decimal'] = cdecimal
|
||||
except ImportError:
|
||||
import decimal
|
||||
sys.modules['cdecimal'] = decimal
|
||||
import threading
|
||||
import datetime
|
||||
import functools
|
||||
|
||||
Reference in New Issue
Block a user