-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (45 loc) · 1.28 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- coding: UTF−8 -*-
import os
from setuptools import setup, find_packages
from tlv_play.main.helper.constants_config import ConfigConst
# all packages dependencies
packages = find_packages()
if not packages:
print(f'Selecting Hardcoded Packages')
packages = [
"tlv_play.main",
"tlv_play.test",
]
print(f'Packages are {packages}')
# potential dependencies
install_reqs = [
'incremental',
'click',
'twisted',
]
setup_reqs = [
'incremental',
]
# get long description from the README.md
with open(os.path.join(os.path.dirname(__file__), "README.md"), "r", encoding="utf-8") as fd:
long_description = fd.read()
setup(
use_incremental=True,
setup_requires=setup_reqs,
name=ConfigConst.TOOL_NAME,
author="Pratik Jaiswal",
author_email="impratikjaiswal@gmail.com",
description="Generic TLV Parser.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/impratikjaiswal/tlvPlay",
project_urls={
"Bug Tracker": "https://github.com/impratikjaiswal/tlvPlay/issues",
},
keywords="TLV Parser Tag Length Value",
license="MIT",
python_requires=">=3.9",
packages=packages,
install_requires=install_reqs
# test_suite="test.sample_package",
)