This repository was archived by the owner on Feb 8, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (53 loc) · 1.39 KB
/
Copy pathsetup.py
File metadata and controls
60 lines (53 loc) · 1.39 KB
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
56
57
58
59
60
# -*- coding: UTF−8 -*-
import os
from setuptools import setup, find_packages
from python_helpers.ph_constants_config import PhConfigConst
# all packages dependencies
packages = find_packages()
if not packages:
print(f'Selecting Hardcoded Packages')
packages = [
"python_helpers",
]
print(f'Packages are {packages}')
# potential dependencies
install_reqs = [
'packaging',
'pandas',
'psutil',
'tzlocal',
'click',
'twisted',
'incremental',
'requests',
'pycryptodome',
'ruamel.yaml',
]
setup_reqs = [
'click',
'twisted',
'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="playhelpers",
author="Pratik Jaiswal",
author_email="impratikjaiswal@gmail.com",
description=PhConfigConst.TOOL_DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url=PhConfigConst.TOOL_URL,
project_urls={
"Bug Tracker": PhConfigConst.TOOL_URL_BUG_TRACKER,
},
keywords=PhConfigConst.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",
)