Verified Commit e2cb0b13 authored by Vojtech Myslivec's avatar Vojtech Myslivec 🚀

Add setup installation file

parent 9935fa27
#!/usr/bin/env python
import os
from setuptools import setup
from importlib import import_module
from mox_otp import __version__
def get_description(filename):
"""Reads and returns content of given file
"""
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return f.read()
setup(
name='mox-otp',
packages=[
'mox_otp',
],
version=__version__
description='Command line tool to query MOX CPU read-only OTP device',
long_description=get_description('README.md'),
long_description_content_type='text/markdown',
url='https://gitlab.labs.nic.cz/turris/mox-otp/',
author='CZ.NIC, z.s.p.o.',
author_email='packaging@turris.cz',
license='GNU GPL v3',
entry_points={
'console_scripts': [
'mox-otp=mox_otp.__main__:main'
]
},
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment