-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
128 lines (124 loc) · 4.95 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#!/usr/bin/env python
from setuptools import find_packages, setup
# Define package version
version = open("version.txt").read().rstrip()
requires = [
"setuptools",
"black>=19b0",
"click>=7",
"click-plugins",
# "conda>=4",
# "conda-build>=3",
# "conda-verify>=3",
"certifi",
"docformatter",
"requests",
"gitpython",
"graphviz",
"python-gitlab",
"sphinx",
"pyyaml>=5.1",
"python-dateutil",
"twine",
"lxml",
"jinja2",
"tabulate",
"termcolor",
"psutil",
"pytz",
"webdavclient3",
]
setup(
name="bob.devtools",
version=version,
description="Tools for development and CI integration of Bob/BEAT packages",
url="http://gitlab.idiap.ch/bob/bob.devtools",
license="BSD",
author="Bob/BEAT Developers",
author_email="[email protected],[email protected]",
long_description=open("README.rst").read(),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
# when updating these dependencies, update the README too
install_requires=requires,
entry_points={
"console_scripts": ["bdt = bob.devtools.scripts.bdt:main"],
"bdt.cli": [
"new = bob.devtools.scripts.new:new",
"dumpsphinx = bob.devtools.scripts.dumpsphinx:dumpsphinx",
"create = bob.devtools.scripts.create:create",
"build = bob.devtools.scripts.build:build",
"mirror = bob.devtools.scripts.mirror:mirror",
"rebuild = bob.devtools.scripts.rebuild:rebuild",
"test = bob.devtools.scripts.test:test",
"caupdate = bob.devtools.scripts.caupdate:caupdate",
"ci = bob.devtools.scripts.ci:ci",
"dav = bob.devtools.scripts.dav:dav",
"local = bob.devtools.scripts.local:local",
"gitlab = bob.devtools.scripts.gitlab:gitlab",
"sphinx = bob.devtools.scripts.sphinx:sphinx",
"dev = bob.devtools.scripts.development:dev",
],
"bdt.gitlab.cli": [
"badges = bob.devtools.scripts.badges:badges",
"commitfile = bob.devtools.scripts.commitfile:commitfile",
"release = bob.devtools.scripts.release:release",
"changelog = bob.devtools.scripts.changelog:changelog",
"lasttag = bob.devtools.scripts.lasttag:lasttag",
"runners = bob.devtools.scripts.runners:runners",
"settings = bob.devtools.scripts.settings:settings",
"jobs = bob.devtools.scripts.jobs:jobs",
"visibility = bob.devtools.scripts.visibility:visibility",
"getpath = bob.devtools.scripts.getpath:getpath",
"process-pipelines = bob.devtools.scripts.pipelines:process_pipelines",
"get-pipelines = bob.devtools.scripts.pipelines:get_pipelines",
"graph = bob.devtools.scripts.graph:graph",
"update-bob = bob.devtools.scripts.update_bob:update_bob",
"alt-nightlies = bob.devtools.scripts.alternative_nightlies:alt_nightlies",
],
"bdt.ci.cli": [
"base-build = bob.devtools.scripts.ci:base_build",
"build = bob.devtools.scripts.ci:build",
"check = bob.devtools.scripts.ci:check",
"test = bob.devtools.scripts.ci:test",
"clean = bob.devtools.scripts.ci:clean",
"base-deploy = bob.devtools.scripts.ci:base_deploy",
"deploy = bob.devtools.scripts.ci:deploy",
"readme = bob.devtools.scripts.ci:readme",
"pypi = bob.devtools.scripts.ci:pypi",
"nightlies = bob.devtools.scripts.ci:nightlies",
"docs = bob.devtools.scripts.ci:docs",
"clean-betas = bob.devtools.scripts.ci:clean_betas",
],
"bdt.local.cli": [
"docs = bob.devtools.scripts.local:docs",
"build = bob.devtools.scripts.local:build",
"base-build = bob.devtools.scripts.local:base_build",
],
"bdt.dav.cli": [
"list = bob.devtools.scripts.dav:list",
"makedirs = bob.devtools.scripts.dav:makedirs",
"rmtree = bob.devtools.scripts.dav:rmtree",
"upload = bob.devtools.scripts.dav:upload",
"clean-betas = bob.devtools.scripts.dav:clean_betas",
],
"bdt.dev.cli": [
"new = bob.devtools.scripts.new:new",
"create = bob.devtools.scripts.create:create",
"install = bob.devtools.scripts.development:install",
"checkout = bob.devtools.scripts.development:checkout",
"dependencies = bob.devtools.scripts.dependencies:dependencies",
],
},
classifiers=[
"Framework :: Bob",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Build Tools",
],
)