Introduce setuptools support

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

Change-Id: I5698f3b29184340db69a156f985aa3c78d9b5674
changes/02/23602/2
Harald Welte 2 years ago
parent 4f2c546613
commit 9813dc958b
  1. 3
      pyproject.toml
  2. 22
      setup.py

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

@ -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'
]
)
Loading…
Cancel
Save