mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
This will replace the hand-crafted codec for EF_SPN by a struct definition using the construct library. Old encoders are updated and kept for API compatibility but are not used internally anymore. New data structures: * Rpad(Adapter): Right-padded bytestring (0xff, adjustable) * GsmStringAdapter(Adapter): Codec for "SMS default 7-bit coded alphabet as defined int TS 23.038" using the gsm0338 library. * GsmString(n): Convenient wrapper of both above Adjustments: * utils: update+deprecate old dec_spn(), enc_spn() * remove refs to deprecated functions Change-Id: Ia1d3a3835933bac0002b7c52511481dd8094b994
27 lines
586 B
Python
27 lines
586 B
Python
from setuptools import setup
|
|
|
|
setup(
|
|
name='pySim',
|
|
version='1.0',
|
|
packages=['pySim', 'pySim.transport'],
|
|
url='https://osmocom.org/projects/pysim/wiki',
|
|
license='GPLv2',
|
|
author_email='simtrace@lists.osmocom.org',
|
|
description='Tools related to SIM/USIM/ISIM cards',
|
|
install_requires=[
|
|
"pyscard",
|
|
"serial",
|
|
"pytlv",
|
|
"cmd2 >= 1.3.0",
|
|
"jsonpath-ng",
|
|
"construct >= 2.9",
|
|
"bidict",
|
|
"gsm0338",
|
|
],
|
|
scripts=[
|
|
'pySim-prog.py',
|
|
'pySim-read.py',
|
|
'pySim-shell.py'
|
|
]
|
|
)
|