-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
109 lines (98 loc) · 3.3 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# Build the workflow project
from setuptools import setup, Extension, find_packages
import re
import os
# Getting description:
with open("README.md", "r") as fh:
long_description = fh.read()
# Getting requirements:
with open("requirements.txt") as requirements_file:
requirements = requirements_file.readlines()
# Getting version:
with open("./taskcontrol/__init__.py") as init_file:
version = re.search("__version__ = \"(.*?)\"", init_file.read()).group(1)
setup(
name='taskcontrol',
version=version,
scripts=[],
author="taskcontrols",
author_email="[email protected]",
maintainer="Ganesh B",
maintainer_email="[email protected]",
description="Workflow Automation Library with support for Concurrent or Event based processes or activities in Local or Network Automation Tasks, including CI CD activities",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/taskcontrols/taskcontrol",
download_url="https://pypi.org/project/taskcontrol/",
packages=find_packages(),
# package_dir={
# # "": "taskcontrol",
# },
# package_data={
# # "some_dep": ["*.pxd", "*.pyi", "py.typed"],
# },
ext_modules=[],
install_requires=[],
extras_require={},
zip_safe=True,
entry_points={
'console_scripts': [
'tasks=run:run'
]
},
license='Proprietary',
platforms=["any"],
keywords=[
"Automation",
"CI/CD",
"CI/CD Automation",
"DevOps",
"DevSecOps",
"Workflow",
"Workflow Automation",
"Tasks",
"Tasks Automation",
"Workflow Automation",
"Events Management Library",
"SQLORM",
"Database Interface and ORM",
"Authentication Library",
"Authorization Library",
"Socket Server Library",
"Webhooks Server Library",
"Client-Agent Architecture Servers Library",
"Publish-Subscribe Architecture Servers Library",
"Commands Execution and Automation Library"
],
classifiers=[
"Programming Language :: Python :: 3",
# "License :: OSI Approved :: MIT License",
"License :: Free To Use But Restricted",
"License :: Free For Educational Use",
"License :: Freely Distributable",
"Operating System :: OS Independent"
# 'Operating System :: POSIX :: Linux',
# 'Operating System :: Microsoft :: Windows',
# 'Operating System :: MacOS'
],
)
"""
ext_modules=[
Extension("dependency_injector.containers",
["src/dependency_injector/containers.c"],
define_macros=list(defined_macros.items()),
extra_compile_args=["-O2"]),
Extension("dependency_injector.providers",
["src/dependency_injector/providers.c"],
define_macros=list(defined_macros.items()),
extra_compile_args=["-O2"]),
],
"""
# RUN setup.py with below command
# python3 setup.py sdist bdist_wheel
# The Pypirc file stores the PyPi repository information
# https://docs.python.org/2.5/dist/pypirc.html
# for Windows : C:\Users\UserName\.pypirc
# for *nix : ~/.pypirc
# To upload your dist/*.whl file on PyPi https://pypi.org/, use Twine
# python3 -m twine upload dist/*