This repository was archived by the owner on Jan 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.py
More file actions
46 lines (36 loc) · 1.45 KB
/
build.py
File metadata and controls
46 lines (36 loc) · 1.45 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
from __future__ import print_function, absolute_import, unicode_literals, division
from pybuilder.core import use_plugin, init, task, depends, Author
use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")
use_plugin("python.flake8")
use_plugin("python.coverage")
use_plugin("python.distutils")
name = "yamlreader"
summary = 'Merge YAML data from given files, dir or file glob'
authors = [Author('Schlomo Schapiro', "[email protected]")]
url = 'https://github.com/ImmobilienScout24/yamlreader'
version = '3.0.4'
description = open("README.rst").read()
license = 'Apache License 2.0'
default_task = ["clean", "analyze", "publish"]
@init
def set_properties(project):
project.depends_on("PyYAML")
project.depends_on("six")
project.set_property('distutils_console_scripts', ['yamlreader=yamlreader.yamlreader:__main'])
project.set_property("distutils_classifiers", [
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
])
@task
@depends('prepare')
def build_directory(project):
print(project.expand_path("$dir_dist"))