-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (48 loc) · 1.35 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
53
54
55
# -*- coding: UTF−8 -*-
import os
from setuptools import setup, find_packages
from asn1_play.main.helper.constants_config import ConfigConst
# all packages dependencies
packages = find_packages()
if not packages:
print(f'Selecting Hardcoded Packages')
packages = [
"asn1_play.generated_code",
"asn1_play.main",
"asn1_play.test",
]
print(f'Packages are {packages}')
# potential dependencies
install_reqs = [
'incremental',
'click',
'twisted',
'ruamel.yaml',
'pycrate',
]
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="[email protected]",
description=ConfigConst.TOOL_DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url=ConfigConst.TOOL_URL,
project_urls={
"Bug Tracker": ConfigConst.TOOL_URL_BUG_TRACKER,
},
keywords=ConfigConst.TOOL_META_KEYWORDS,
license="GNU GENERAL PUBLIC LICENSE v3.0",
python_requires=">=3.9",
packages=packages,
install_requires=install_reqs,
# test_suite="test.sample_package",
)