setup.py
1 #!/usr/bin/env python 2 3 # SPDX-FileCopyrightText: 2023, Marsiske Stefan 4 # SPDX-License-Identifier: LGPL-3.0-or-later 5 6 import os 7 from setuptools import setup, find_packages 8 9 10 # Utility function to read the README file. 11 # Used for the long_description. It's nice, because now 1) we have a top level 12 # README file and 2) it's easier to type in the README file than to put a raw 13 # string in below ... 14 def read(fname): 15 return open(os.path.join(os.path.dirname(__file__), fname)).read() 16 17 setup(name = 'pyoprf', 18 version = '0.9.4', 19 description = 'python bindings for liboprf', 20 license = "LGPLv3", 21 author = 'Stefan Marsiske', 22 author_email = 'toprf@ctrlc.hu', 23 url = 'https://github.com/stef/liboprf/python', 24 long_description=read('README.md'), 25 long_description_content_type="text/markdown", 26 packages=find_packages(), 27 install_requires = ("pysodium", "SecureString", "pyserial", "pyudev", "ble_serial", "pyserial-asyncio"), 28 classifiers = ["Development Status :: 4 - Beta", 29 "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", 30 "Topic :: Security :: Cryptography", 31 "Topic :: Security", 32 ], 33 #ext_modules = [liboprf], 34 )