-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (30 loc) · 952 Bytes
/
Copy pathsetup.py
File metadata and controls
34 lines (30 loc) · 952 Bytes
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
import setuptools
import os
import shutil
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="DevOps-Bot",
version="0.1.0",
author="Javid Rzayev",
author_email="rz.cavid@gmail.com",
description="Simple Python Bot for Automation DevOps Process for Microservice",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Javid907/devops-bot",
packages=['bot'],
scripts=['bin/app.py'],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: *NIX OS's",
],
python_requires='>=3',
)
path = "/etc/version-bump"
try:
os.mkdir(path)
print ("Successfully created the directory %s " % path)
except OSError:
print ("Creation of the directory %s failed" % path)
templatePath = shutil.copy('config/template.yaml', path)
configPath = shutil.copy('config/config.yaml', path)