Introduce setuptools support

Add a pyproject.toml and setup.py for using setuptools to install
pySim and its upstream dependencies.

Change-Id: I5698f3b29184340db69a156f985aa3c78d9b5674
This commit is contained in:
Harald Welte 2021-04-03 15:13:13 +02:00
parent 4f2c546613
commit 9813dc958b
2 changed files with 25 additions and 0 deletions

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

22
setup.py Normal file
View File

@ -0,0 +1,22 @@
from setuptools import setup
setup(
name='pySim',
version='1.0',
packages=['pySim'],
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"
],
scripts=[
'pySim-prog.py',
'pySim-read.py',
'pySim-shell.py'
]
)