Skip to content

Commit 50d0c75

Browse files
☘️ use of YAML
Issue: #10
1 parent d8eee10 commit 50d0c75

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

1build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ def run(arguments):
1010
project = parse_project_config()
1111
command_name = command_to_run(arguments)
1212
if command_name.lower() == "help":
13-
print help_message(project)
13+
print(help_message(project))
1414
else:
1515
command = project.get_command(command_name)
1616
execute(command)
1717
except ValueError as error:
18-
print error
18+
print(error)
1919

2020

2121
class Project:

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
PyYAML==5.1
1+
PyYAML==3.12

setup.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import setuptools
2+
3+
with open("README.md", "r") as fh:
4+
long_description = fh.read()
5+
setuptools.setup(
6+
name='gopitest',
7+
version='0.0.1',
8+
scripts=['1build'],
9+
author="Gopinath Langote",
10+
install_requires=['PyYAML>=3.12'],
11+
author_email="[email protected]",
12+
description="1build utility",
13+
long_description=long_description,
14+
long_description_content_type="text/markdown",
15+
url="https://github.com/gopinath-langote/1build",
16+
packages=[],
17+
classifiers=[
18+
"Programming Language :: Python :: 3",
19+
"License :: OSI Approved :: MIT License",
20+
"Operating System :: OS Independent",
21+
],
22+
)

0 commit comments

Comments
 (0)