FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
devops/agentic_devops/setup.py at main · agenticsorg/devops · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
agenticsorg
/
devops
Public
Notifications
You must be signed in to change notification settings
Fork
74
Star
231
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
devops
/
agentic_devops
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
53 lines (48 loc) · 1.8 KB
Breadcrumbs
devops
/
agentic_devops
/
setup.py
Copy path
File metadata and controls
53 lines (48 loc) · 1.8 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#!/usr/bin/env python3
"""
Setup script for DevOps Agent package.
"""
from
setuptools
import
setup
,
find_packages
import
os
import
re
# Read version from __init__.py
with
open
(
os
.
path
.
join
(
"src"
,
"__init__.py"
),
"r"
,
encoding
=
"utf-8"
)
as
f
:
version_match
=
re
.
search
(
r"^__version__ = ['\"]([^'\"]*)['\"]"
,
f
.
read
(),
re
.
M
)
version
=
version_match
.
group
(
1
)
if
version_match
else
"0.1.0"
# Read long description from README
with
open
(
"README.md"
,
"r"
,
encoding
=
"utf-8"
)
as
f
:
long_description
=
f
.
read
()
# Read requirements from requirements.txt
with
open
(
"requirements.txt"
,
"r"
,
encoding
=
"utf-8"
)
as
f
:
requirements
=
[
line
.
strip
()
for
line
in
f
if
line
.
strip
()
and
not
line
.
startswith
(
"#"
)]
setup
(
name
=
"devops-agent"
,
version
=
version
,
description
=
"A modular, extensible agent for managing cloud infrastructure across multiple providers"
,
long_description
=
long_description
,
long_description_content_type
=
"text/markdown"
,
author
=
"Edge Agents Team"
,
author_email
=
"team@example.com"
,
url
=
"https://github.com/yourusername/devops-agent"
,
packages
=
find_packages
(),
package_dir
=
{
""
:
"src"
},
install_requires
=
requirements
,
classifiers
=
[
"Development Status :: 3 - Alpha"
,
"Intended Audience :: Developers"
,
"Intended Audience :: System Administrators"
,
"License :: OSI Approved :: MIT License"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3.8"
,
"Programming Language :: Python :: 3.9"
,
"Programming Language :: Python :: 3.10"
,
"Topic :: System :: Systems Administration"
,
"Topic :: Software Development :: Libraries"
,
],
python_requires
=
">=3.8"
,
entry_points
=
{
"console_scripts"
: [
"devops-agent=devops_agent.cli:main"
,
],
},
)
Back
|
FazBrowse Home
|
New Git URL