pycrate/setup.py

70 lines
2.2 KiB
Python
Raw Normal View History

2018-04-11 21:49:41 +00:00
# -*- coding: UTF8 -*-
2017-07-05 21:36:10 +00:00
from setuptools import setup, find_packages
setup(
name="pycrate",
2019-02-25 10:26:10 +00:00
version="0.4",
2017-07-05 21:36:10 +00:00
#packages=find_packages(),
packages=["pycrate_core",
"pycrate_ether",
"pycrate_media",
"pycrate_asn1c",
"pycrate_asn1dir",
"pycrate_asn1rt",
"pycrate_csn1",
"pycrate_csn1dir",
"pycrate_mobile",
"pycrate_diameter",
"pycrate_corenet",
"pycrate_sys",
"pycrate_crypto",
],
2017-07-05 21:36:10 +00:00
test_suite="test.test_pycrate",
scripts=["tools/pycrate_asn1compile.py",
"tools/pycrate_berdecode.py",
2017-07-05 21:36:10 +00:00
"tools/pycrate_showmedia.py",
2020-12-08 16:15:31 +00:00
"tools/pycrate_shownas.py",
"tools/pycrate_map_op_info.py",
2017-07-05 21:36:10 +00:00
],
# no mandatory dependency
2017-07-05 21:36:10 +00:00
install_requires=[],
# optional dependencies
2019-08-01 15:08:17 +00:00
extras_require={
"NASLTE" : ["CryptoMobile"],
"corenet" : ["pysctp", "CryptoMobile"],
"diameter_dict" : ["lxml"],
},
# for pycrate_asn1dir and pycrate_csn1dir:
# .asn, .csn, .txt and .json files from asn1dir and csn1dir are not required
# to be installed
2017-07-05 21:36:10 +00:00
# only compiled .py modules are installed by default
# for pycrate_diameter:
# .xml files are converted to Python dicts and may be updated from time to
# time
# for pycrate_corenet:
# the AuC.db file is the mobile subscriber authentication database
# containing Ki and is required at runtime when using corenet
2017-07-05 21:36:10 +00:00
package_data={
#"pycrate_asn1dir" : ["*.asn", "*.json"],
#"pycrate_csn1dir" : ["*.csn"],
#"pycrate_diameter" : ["*.xml"],
"pycrate_corenet" : ["AuC.db"],
2017-07-05 21:36:10 +00:00
},
#include_package_data=False,
author="Benoit Michau",
author_email="michau.benoit@gmail.com",
description="A software suite to handle various data formats",
long_description=open("README.md", "r").read(),
2021-05-06 15:45:17 +00:00
long_description_content_type="text/markdown",
url="https://github.com/P1sec/pycrate/",
2020-12-08 16:15:31 +00:00
keywords="protocol format asn1 compiler csn1 encoder decoder mobile core network Diameter NAS S1AP NGAP TCAP MAP",
license="LGPL v2.1+",
2017-07-05 21:36:10 +00:00
)